D
Dick Rosser
I asked previously, but elicited no reply, the following:
Could someone please tell me how to 'marry' these two pieces
of script so that script(A)posts the desired url selected from
the select box into a popup (B). Or am I going about it the wrong
way?
(A)
<form name="form">
<select name="links">
<option value="#" selected>View Options
<option value="../page1.htm">Page 1
<option value="../page2.htm">Page 2
</select> <input type="button" name="go" value="Go!"
onClick="window.location=document.form.links.options[document.form.links.selectedIndex].value">
</form>
(B)
onClick="window.open('toolbar=no,width=300,height=270,left=10,top=10,
status=no,scrollbars=no, resize=no');return false">
Could someone please tell me how to 'marry' these two pieces
of script so that script(A)posts the desired url selected from
the select box into a popup (B). Or am I going about it the wrong
way?
(A)
<form name="form">
<select name="links">
<option value="#" selected>View Options
<option value="../page1.htm">Page 1
<option value="../page2.htm">Page 2
</select> <input type="button" name="go" value="Go!"
onClick="window.location=document.form.links.options[document.form.links.selectedIndex].value">
</form>
(B)
onClick="window.open('toolbar=no,width=300,height=270,left=10,top=10,
status=no,scrollbars=no, resize=no');return false">