JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old April 20th, 2004, 03:58 PM
klippty klippty is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 klippty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question keeping entered data in pop up window form

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

Reply With Quote
  #2  
Old April 20th, 2004, 06:42 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Ouch - sounds like a lot of annoying popups!
You can save entered data using cookies and/or server-side sessions.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old April 21st, 2004, 12:33 AM
klippty klippty is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 klippty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #4  
Old April 21st, 2004, 03:09 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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/

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > keeping entered data in pop up window form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway