guys here is my problem in a simpler way:)

From: Date: Wed, 26 Sep 2001 21:24:51 +0000
Subject: guys here is my problem in a simpler way:)
Groups: php.db 
Request: Send a blank email to php-db+get-12749@lists.php.net to get a copy of this message
hi there, i have a similar problem which is driving me crazy and i hope u can help with: i have a form whith a normal button when clicked ,i open a new window through javascript(this window have a php script) which i wanna pass to it a form field: <input name="category"> but as i told u there is no submission for the form so i can't pass for example a hidden field or $category <script> function test() { x=document.forms[0].subcategory.selectedIndex y= document.forms[0].subcategory.options[x].text if(y=="Printers") open("store1.php","newwindow") } </script> <form> <input name="category" > <input type="button" onClick="test()"> ------------------------------------------------------------ ------------------------------------------------------------

« previous php.db (#12749) next »