Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
frmyear=Request.Form("year")
frmyear=Request.Form("year")(1)
<%@LANGUAGE="VBScript"%>
<%
dim cheese, rat
rat = Request.Form("rat")
if rat = 1 then
cheese = Request.Form("year")[!](2)[/!]
Response.Write cheese
end if
%>
<html>
<body>
<form method="post">
<select name="year">
<option value="2004">2004</option>
</select>
<select name="year">
<option value="2002">2002</option>
</select>
<select name="year">
<option value="2001">2001</option>
</select>
<input type="hidden" name="rat" value="1" />
<input type="submit" />
</form>
</body>
</html>
<select name="opt" size="3" multiple>
<option value="AC">AC</option>
<option value="Power steering">Power steering</option>
<option value="Cruise Control">Cruise Control</option>
<option value="Radio">Radio</option>
<option value="Bench Seat">Bench Seat</option>
<option value="Lift Gate">Lift Gate</option>
</select>
<%@LANGUAGE="VBScript"%>
<%
dim cheese, rat
rat = Request.Form("rat")
if rat = 1 then
cheese = Split(Request.Form("year"),",")
for each item in cheese
Response.Write item & "<br />"
next
end if
%>
<html>
<body>
<form method="post">
<select name="year" size="3" multiple>
<option value="AC">AC</option>
<option value="Power steering">Power steering</option>
<option value="Cruise Control">Cruise Control</option>
<option value="Radio">Radio</option>
<option value="Bench Seat">Bench Seat</option>
<option value="Lift Gate">Lift Gate</option>
</select>
<input type="hidden" value="1" name="rat" />
<input type="submit" />
</form>
</body>
</html>