Welcome to WebmasterWorld Guest from 54.162.240.235

Forum Moderators: open

Message Too Old, No Replies

losing JavaScript values on Back Button

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

10+ Year Member



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

thanks

nat

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

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



The js can get re-executed in alot of browsers.
1:26 pm on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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...
 

Featured Threads

Hot Threads This Week

Hot Threads This Month