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()">