<html><% dim cars cars=Request.Form("cars") %>
<body> <form action="/example/aspe/demo_aspe_radiob.html" method="post"> <p>请选择您喜欢的汽车:</p> <input type="radio" name="cars"<%if cars="Volvo" then Response.Write("checked")%>
value="Volvo">Volvo</input> <br /> <input type="radio" name="cars"<%if cars="Saab" then Response.Write("checked")%>
value="Saab">Saab</input> <br /> <input type="radio" name="cars"<%if cars="BMW" then Response.Write("checked")%>
value="BMW">BMW</input> <br /><br /> <input type="submit" value="提交" /> </form><% if cars<>"" then Response.Write("<p>您喜欢的汽车是" & cars & "</p>") end if %>
</body> </html>