inheritsite
03-02-2004, 10:15 AM
Hello -
Someone here helped me a few weeks ago to create a selection box. Code is as follows:
<form>
<p>Select by Price
<select name="priceselection" size="1">
<option value="upto5.html">Up to $5,000</option>
<option value="4to10.html">$4,000 to $10,000</option>
<option value="9to30.html">$9,000 to $30,000</option>
<option value="25andover.html">$25,000 and Over</option>
</select>
<INPUT TYPE="button" value="GO!" onclick="location.href=this.form.priceselection.options[this.form.priceselection.selectedIndex].value">
</p></FORM>
My Question: Is it possible to redo this such that clicking on a selection would suffice WITHOUT requiring a GO button?
Thanks to anyone for assistance.
Someone here helped me a few weeks ago to create a selection box. Code is as follows:
<form>
<p>Select by Price
<select name="priceselection" size="1">
<option value="upto5.html">Up to $5,000</option>
<option value="4to10.html">$4,000 to $10,000</option>
<option value="9to30.html">$9,000 to $30,000</option>
<option value="25andover.html">$25,000 and Over</option>
</select>
<INPUT TYPE="button" value="GO!" onclick="location.href=this.form.priceselection.options[this.form.priceselection.selectedIndex].value">
</p></FORM>
My Question: Is it possible to redo this such that clicking on a selection would suffice WITHOUT requiring a GO button?
Thanks to anyone for assistance.