Hello,
I have a form that submits it's values to a pop-up window. I've
simplied the code:
<form name="formname" action="action.php" target="windowName"
method="post" onsubmit="window.open('', this.target,
'dialog,modal,scrollbars=yes,resizable=no,width=30 0,height=200,left=362,top=284');">
It works perfectly fine when changing form data and then pressing the
submit button. It submits the form to a pop-up window which is 300
pixels wide and 200 pixels high as expected.
However, I would like it so that when somebody changes a <select>, the
form is automatically submitted. The select code is:
<select name="test" onchange="formname.submit();">
On changing the value of the select, the form is submitted to a new
window that is full screen. It is not sent to a pop-up window as
should be.
How do I correct this?
Thanks.