Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 28th, 2004, 03:26 PM
stardust77 stardust77 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 24 stardust77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
JS preserve values after refresh

hi,

this must be basic knowledge but I don't have much experience with Javascript, so any help will be greatly appreciated!

I have a form with dynamic drop down boxes. So when I select something in a dropdown box, the values in another box will change accordingly.

This is using a Javascript function (using document.submit()) to submit the values with the onChange inbuilt function.

The page is reloaded and all the values in the form with text fields and all is refreshed and lost!

How can I preserve the values in the other form fields?

PS. I'm using PHP web scripting..

Reply With Quote
  #2  
Old November 2nd, 2004, 06:35 AM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: JS preserve values after refresh

http://codewalkers.com/seecode/507.html

Reply With Quote
  #3  
Old November 6th, 2004, 10:25 AM
AbhiKumar AbhiKumar is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: pune Maharashtra India
Posts: 5 AbhiKumar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to AbhiKumar
RE: JS preserve values after refresh

I am also a new to web development technologies. but i can give you suggetion of either go for hidden variables or query string. But i guess this is done server side. you can go for cookies I dont have any syntatical knowledge about it. hope it will help you.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > JS preserve values after refresh


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway