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> &n bsp; <input type="button" name="go" value="Go!"
onClick="window .location=docum ent.form.links. options[document.form.l inks.selectedIn dex].value">
</form>
(B)
onClick="window .open('toolbar= no,width=300,he ight=270,left=1 0,top=10,
status=no,scrol lbars=no, resize=no');ret urn 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> &n bsp; <input type="button" name="go" value="Go!"
onClick="window .location=docum ent.form.links. options[document.form.l inks.selectedIn dex].value">
</form>
(B)
onClick="window .open('toolbar= no,width=300,he ight=270,left=1 0,top=10,
status=no,scrol lbars=no, resize=no');ret urn false">
Comment