Q
quickcur
Hi, I have a page with the following code.
<input type=button value="Show"
onclick="location.href='my.do?para=XXXX">
....
<form>
....
</form>
<select name="myselect">
<option value=1>1
<option vlaue=2>2
<option value=3>3
....
</select>
When use click the Show button, I would like to replace the XXX by the
selected number from the selection "myselect". Since there is a form
between <intput button> and the selection, I can not use form for the
Show button.
How can I write the onclick="location.href='my.do?para=XXXX?
Thanks,
qq
<input type=button value="Show"
onclick="location.href='my.do?para=XXXX">
....
<form>
....
</form>
<select name="myselect">
<option value=1>1
<option vlaue=2>2
<option value=3>3
....
</select>
When use click the Show button, I would like to replace the XXX by the
selected number from the selection "myselect". Since there is a form
between <intput button> and the selection, I can not use form for the
Show button.
How can I write the onclick="location.href='my.do?para=XXXX?
Thanks,