homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

losing JavaScript values on Back Button

 12:03 am on Mar 24, 2003 (gmt 0)

hi all,

im having problems with back buttoning and losing values.
i fill selectes dynamically (js), and submit the page. if i then back button to that page, none of the selects remain filled.
why is this?
is it a browser setting? doctype setting? a server setting?
any help, as always much appreciated





 6:51 am on Mar 24, 2003 (gmt 0)

Because, like your title says, any JavaScript values are lost/reset when the page is unloaded.


 12:20 pm on Mar 24, 2003 (gmt 0)

The js can get re-executed in alot of browsers.


 1:26 pm on Mar 24, 2003 (gmt 0)

But I think natty is talking about fills that depend on variables set during the session, in which case those variables will have lost their value on back-click...

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved