|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I have a site which can have a series of information windows popped up from the main site. From any of these windows we need to have a link to pop up yet another window which contains a form to be filled out by the user.
My question is how to keep any information the user may have entered in the form intact if they click on the link to the form a second time. Currently, the window with the form reloads and any entered information is lost. Is there a way to check if the window already exists and bring it to the front without reloading the html (and obviously, opening the window if it doesn't already exist)? thanks Last edited by klippty : April 20th, 2004 at 04:05 PM. Reason: add info |
|
#2
|
||||
|
||||
|
Ouch - sounds like a lot of annoying popups!
You can save entered data using cookies and/or server-side sessions. |
|
#3
|
|||
|
|||
|
it does indeed, but I assure you that the user would have popped 'em all up on their own initiative ...
so there's no way to bring a window into focus without refreshing the html? |
|
#4
|
||||
|
||||
|
Yes there is, but you would need to know the name of the window (which you probably would). It's something like (using Javascript): window['yourWindowName'].focus();
If in doubt - check out the official JS manual http://devedge.netscape.com/central/javascript/ |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > keeping entered data in pop up window form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|