Reply
Pass values from popup window to parent window
Old 05-18-2006, 03:29 PM Pass values from popup window to parent window
Average Talker

Posts: 17
Does anyone know how to pass values from a popup window back to parent window?

I'm trying to make a username verification of whether the entered username already exists in my database.

I used document.getElementById plus window.open to pass the entered username to a popup window that is a php file. I can do the MySQL connection and checking there but I need to return something from the popup window back to the parent window so that I can stop form submission if the username already exists.

Any help would be appreicated.
LennyHan is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-18-2006, 04:33 PM Re: Pass values from popup window to parent window
funkdaddu's Avatar
Web Design Snob

Posts: 636
Try using a cookie.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 05-18-2006, 04:55 PM Re: Pass values from popup window to parent window
Average Talker

Posts: 17
Thanks, however I found a way myself.
using opener.document.(whatever after)=(whatever value);
LennyHan is offline
Reply With Quote
View Public Profile
 
Old 08-20-2006, 03:26 PM Re: Pass values from popup window to parent window
rogem002's Avatar
Webmaster Talker

Posts: 547
Name: Mike
Location: United Kingdom
You know if your using PHP (More Secure) you could create a session.
__________________
Website Services
PHP Code:
if(Added_Talkupation($post) == TRUE){iHug($you);} 
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 08-25-2006, 06:34 PM Re: Pass values from popup window to parent window
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
yeah Javascript works if you are noty sending sensitive inbfo that you can later view in the address bar but I like window.opener
__________________

Traffic School - Driver Ed - Defensive Driving
Statistics: The only science that enables different experts using the same figures to draw different conclusions.

Driver Education Online - Online Traffic School - Texas Defensive Driving
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 03-21-2008, 05:58 AM Re: Pass values from popup window to parent window
Junior Talker

Posts: 1
can everybody help me ho to pass values from popup window to text on parent window.i want coding in php..
tiramitsu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Pass values from popup window to parent window
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13324 seconds with 13 queries