Heya all, I want to know how to pass a variable across when opening a new window using javascript.
Ive got a text field and a button-and by changing properties of the button i can get it to open up a new window- however i want to know how i can pass the text field value so it appears in my pop-up window
Heres my code- im using asp
thanks
Ive got a text field and a button-and by changing properties of the button i can get it to open up a new window- however i want to know how i can pass the text field value so it appears in my pop-up window
Heres my code- im using asp
Code:
<tr> <td colSpan="5"><strong><font face="Arial" size="2">Search Criteria:</strong></td> <td><input type="text" name="GSearch" </font></strong></td> <td colSpan="20"> <INPUT TYPE="RADIO" NAME="DB" VALUE="1" CHECKED>Suppliers </p> <INPUT TYPE="RADIO" NAME="DB" VALUE="2" >Members </td> <td> <td colSpan="10"><input type="submit" name="submit" value="Submit" align="right" onClick="window.open ('Search Results.asp','mywindow','width=600,height=400')"> </td> </tr>
Comment