Hi All,
When I refresh a page in IE I loose form data.
Is there any way to keep it?
I can supply more detail if necessary.
Firefox doesn't behave this way.
Cheers, Will.
IE - Refresh issue
Moderator: General Moderators
Age old question.
Why would firefox behave differently?
I have to refresh the page because within the form the the user can update the data base which drives many dropdown menus.
so, the users clicks a javascript button and pops up a window and adds data to the db, close this window.
then i force the page to reload to include the newly added data to the drops down menus.
this method was used to work around the nested forms issue.
does that sound right?
Why would firefox behave differently?
I have to refresh the page because within the form the the user can update the data base which drives many dropdown menus.
so, the users clicks a javascript button and pops up a window and adds data to the db, close this window.
then i force the page to reload to include the newly added data to the drops down menus.
this method was used to work around the nested forms issue.
does that sound right?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Heh.... another situation where AJAX would prove very handy, although not strictly needed.
When you do thet refresh, what you should actually do is to submit the data via POST or GET and collect it at the server end, perhaps put it into a SESSION.
Once you have that info you can put it back into the form value attributes when the page reloads
When you do thet refresh, what you should actually do is to submit the data via POST or GET and collect it at the server end, perhaps put it into a SESSION.
Once you have that info you can put it back into the form value attributes when the page reloads
Alternatively, you could check for when the page is being exited via:d11wtq wrote:Heh.... another situation where AJAX would prove very handy, although not strictly needed.
When you do thet refresh, what you should actually do is to submit the data via POST or GET and collect it at the server end, perhaps put it into a SESSION.
Once you have that info you can put it back into the form value attributes when the page reloads
Code: Select all
<body onbeforeunload="/* Do some crazy stuff */">You could via AJAX.facets wrote:I don't suppose there is another way to reload just the drop down menu portion of a page without reloading the whole page?
d11wtq | http://xaxjax.sourceforge.net