This is a Java Servlet list not a Java Script list but if you want to receive anything from previous page you have to post it with the request
alt 1) by hidden field or as a value in a form field if it is a submit button alt 2) by adding the variable in the post if its a "standalone" post or outside the form.... regards tonnie On Fri, 2001-10-05 at 10:59, Dick Wong wrote: > 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, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html