Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / October 2005



Tip: Looking for answers? Try searching our database.

div textfields missing after pressing back button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed - 31 Oct 2005 15:10 GMT
Hi,

I have an html page with a div element within a form for dynamically
creating textfields.

The problem is when I click a link on the page, or the submit button,
then click the back button, the new textfields in the div element are
not there anymore.

Does anyone know how this scenario is usually handled?

Thanks,

Ed.
RobG - 31 Oct 2005 15:37 GMT
> Hi,
>
[quoted text clipped - 4 lines]
> then click the back button, the new textfields in the div element are
> not there anymore.

In some browsers dynamically added elements are there when you go
'back', in others not.

> Does anyone know how this scenario is usually handled?

Put the data into a form in a hidden iFrame and submit that or use
XMLHttpRequest.

Make sure to let users know what's happening so they don't submit
multiple times thinking that the form didn't submit.

[...]

Signature

Rob

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.