<html>
<body>
<%
fruits=Request.Form("fruits")
%>
<form action="/example/aspe/demo_aspe_checkboxes.asp" method="post">
<p>Ë®¹û£º</p>
<input type="checkbox" name="fruits" value="Apples"
<%if instr(fruits,"Apple") then Response.Write("checked")%>
>
Apple
<br />
<input type="checkbox" name="fruits" value="Oranges"
<%if instr(fruits,"Oranges") then Response.Write("checked")%>
>
Orange
<br />
<input type="checkbox" name="fruits" value="Bananas"
<%if instr(fruits,"Banana") then Response.Write("checked")%>
>
Banana
<br />
<input type="submit" value="Ìá½»">
</form>
<%
if fruits<>"" then%>
<p>Äúϲ»¶£º<%Response.Write(fruits)%>
</p>
<%end if
%>
</body>
</html>