D
Dodo
I am interested in learning how to use onchange with the scrollbox in my ASP
page. I would like onchange to function just like the submit button. Does
anyone know a simple implementation? Searching the web has not yielded many
answers that I've been able to decipher.
<form action="detail.asp" method="get">
<select name="place">
<option value="ALL"<%=allsel%>>ALL</option>
<option value="Alexandria"<%=alsel%>>Alexandria</option>
<option value="Arkansas"<%=arsel%>>Arkansas</option>
<option value="Bakersfield"<%=basel%>>Bakersfield</option>
<option value="Baton Rouge"<%=btsel%>>Baton Rouge</option>
<option value="Cleveland"<%=clsel%>>Cleveland</option>
<option value="Connecticut"<%=cosel%>>Connecticut</option>
<option value="East Texas"<%=easel%>>East Texas</option>
<option value="Eureka"<%=eusel%>>Eureka</option>
<option value="Fredericksburg"<%=frsel%>>Fredricksburg</option>
<option value="Gainesville/N.Central FL"<%=gasel%>>Gainesville/N.Central
FL</option>
<option value="Greater Oklahoma"<%=grsel%>>Greater Oklahoma</option>
<option value="Hampton Roads"<%=hasel%>>Hampton Roads</option>
<option value="Humbolt"<%=husel%>>Humbolt</option>
<option value="Kansas"<%=kasel%>>Kansas</option>
<option value="Kansas-Central"<%=knsel%>>Kansas-Central</option>
<option value="Kansas-Northern"<%=kssel%>>Kansas-Northern</option>
<option value="Las Vegas"<%=lasel%>>Las Vegas</option>
<option value="Louisiana"<%=losel%>>Louisiana</option>
<option value="Lubbock-Midland"<%=lusel%>>Lubbock-Midland</option>
<option value="Macon"<%=masel%>>Macon</option>
<option value="New Orleans"<%=nesel%>>New Orleans</option>
<option value="North Carolina"<%=nosel%>>North Carolina</option>
<option value="Northern Virginia"<%=nrsel%>>Northern Virginia</option>
<option value="Oklahoma"<%=oksel%>>Oklahoma</option>
<option value="Oklahoma City"<%=olsel%>>Oklahoma City</option>
<option value="Omaha"<%=omsel%>>Omaha</option>
<option value="Orange County"<%=orsel%>>Orange County</option>
<option value="Palos Verdes"<%=pasel%>>Palos Verdes</option>
<option value="Pensacola"<%=pesel%>>Pensacola</option>
<option value="Phoenix"<%=phsel%>>Phoenix</option>
<option value="Rhode Island"<%=rhsel%>>Rhode Island</option>
<option value="Roanoke"<%=rosel%>>Roanoke</option>
<option value="San Diego"<%=sasel%>>San Diego</option>
<option value="Santa Barbara"<%=snsel%>>Santa Barbara</option>
<option value="Tucson"<%=tusel%>>Tucson</option>
<option value="Tulsa"<%=tlsel%>>Tulsa</option>
<option value="Warner-Robbins"<%=wasel%>>Warner-Robbins</option>
<option value="West Texas"<%=wesel%>>West Texas</option>
</select>
<input type="submit">
</form>
page. I would like onchange to function just like the submit button. Does
anyone know a simple implementation? Searching the web has not yielded many
answers that I've been able to decipher.
<form action="detail.asp" method="get">
<select name="place">
<option value="ALL"<%=allsel%>>ALL</option>
<option value="Alexandria"<%=alsel%>>Alexandria</option>
<option value="Arkansas"<%=arsel%>>Arkansas</option>
<option value="Bakersfield"<%=basel%>>Bakersfield</option>
<option value="Baton Rouge"<%=btsel%>>Baton Rouge</option>
<option value="Cleveland"<%=clsel%>>Cleveland</option>
<option value="Connecticut"<%=cosel%>>Connecticut</option>
<option value="East Texas"<%=easel%>>East Texas</option>
<option value="Eureka"<%=eusel%>>Eureka</option>
<option value="Fredericksburg"<%=frsel%>>Fredricksburg</option>
<option value="Gainesville/N.Central FL"<%=gasel%>>Gainesville/N.Central
FL</option>
<option value="Greater Oklahoma"<%=grsel%>>Greater Oklahoma</option>
<option value="Hampton Roads"<%=hasel%>>Hampton Roads</option>
<option value="Humbolt"<%=husel%>>Humbolt</option>
<option value="Kansas"<%=kasel%>>Kansas</option>
<option value="Kansas-Central"<%=knsel%>>Kansas-Central</option>
<option value="Kansas-Northern"<%=kssel%>>Kansas-Northern</option>
<option value="Las Vegas"<%=lasel%>>Las Vegas</option>
<option value="Louisiana"<%=losel%>>Louisiana</option>
<option value="Lubbock-Midland"<%=lusel%>>Lubbock-Midland</option>
<option value="Macon"<%=masel%>>Macon</option>
<option value="New Orleans"<%=nesel%>>New Orleans</option>
<option value="North Carolina"<%=nosel%>>North Carolina</option>
<option value="Northern Virginia"<%=nrsel%>>Northern Virginia</option>
<option value="Oklahoma"<%=oksel%>>Oklahoma</option>
<option value="Oklahoma City"<%=olsel%>>Oklahoma City</option>
<option value="Omaha"<%=omsel%>>Omaha</option>
<option value="Orange County"<%=orsel%>>Orange County</option>
<option value="Palos Verdes"<%=pasel%>>Palos Verdes</option>
<option value="Pensacola"<%=pesel%>>Pensacola</option>
<option value="Phoenix"<%=phsel%>>Phoenix</option>
<option value="Rhode Island"<%=rhsel%>>Rhode Island</option>
<option value="Roanoke"<%=rosel%>>Roanoke</option>
<option value="San Diego"<%=sasel%>>San Diego</option>
<option value="Santa Barbara"<%=snsel%>>Santa Barbara</option>
<option value="Tucson"<%=tusel%>>Tucson</option>
<option value="Tulsa"<%=tlsel%>>Tulsa</option>
<option value="Warner-Robbins"<%=wasel%>>Warner-Robbins</option>
<option value="West Texas"<%=wesel%>>West Texas</option>
</select>
<input type="submit">
</form>