hi you will have to use javascript you opens a window and get its handler eg var form2 = window.open( blah blah );
now to access the form1 variable use form2.opener.forms[0].textfield.value Suresh Nagar [EMAIL PROTECTED] ----- Original Message ----- From: "Dick Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 05, 2001 2:29 PM Subject: Help on retrieve value > if there is a button in form1. If I press it, it open a new window (form2). > How can I retrieve the text field called "IDText" in form1 and display it > on form2 ?? > I tried to: alert( document.form1.IDText.value ) but nothing to be display > ..... > > Help. > > Regards, > Dick Wong > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
