By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,287 Members | 1,665 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,287 IT Pros & Developers. It's quick & easy.

submit to opener

P: 2
I have a page, which opens a popup window through javascript. I want to get a form filled on this and get closed, sumbitting data to opener, when submitted. How can I go about this?
Nov 18 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Use the target to point to the parent window using its name (if it has one).
Nov 18 '08 #2

P: 2
Use the target to point to the parent window using its name (if it has one).
can you please show me the code? i am a novice...thx
Nov 18 '08 #3

acoder
Expert Mod 15k+
P: 16,027
Set the target in the HTML (see link ) or set using javascript:
Expand|Select|Wrap|Line Numbers
  1. //frm is a reference to the form:
  2. frm.target = "win1";
Nov 18 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.