Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Need Help with forms


Message #1 by "Chris Cote" <cotec@s...> on Wed, 27 Mar 2002 14:17:28
Chris,

If the child asp page is opened using showModelessDialog/showModelessDialog,
then you can use window.dialogArguments to pass the values/object to the
child and back forth. 

-Suresh


-----Original Message-----
From: Chris Cote [mailto:cotec@s...]
Sent: Wednesday, March 27, 2002 9:17 AM
To: JavaScript HowTo
Subject: [javascript_howto] Need Help with forms


I have a page which, after the user enters numbers for rows and columns 
and clicks a button, displays a child form with text boxes in a grid 
determined by the numbers the user enters.  I currently have this child 
page as an ASP page.  I want to add these values to a text area that he 
may have already typed text into already.  What I am having trouble with 
is this: what is the easiest way to pass the values from the child form 
back to the "parent" or opener page?  Is it better to just make one long 
string and send it to a hidden input on the opener, or is there a way to 
post the data like a normal ASP page and still be able to keep what is 
already on the main page?

Chris

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20



"The information in this email, and in any attachments,
may contain confidential information and is intended 
solely for the attention and use of the named addressee(s).
It must not be disclosed to any person without authorization.
If you are not the intended recipient, or a person responsible for
delivering it to the intended recipient, you are not authorized
to, and must not, disclose, copy, distribute, or retain this
message or any part of it."

  Return to Index