发现发布asp代码时挺方便的。
不用注明前台后台的说明
只要把代码贴上,下次一复制就能用了

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>



<body>
<%  dim ok
dim ok2
ok
=request.QueryString("a")
response.write(ok
+"<br />")

ok2
=split(ok,"")

For i = 0 To UBound(ok2) 

    response.Write(
"您选的第"& i+1 &"个ID:" & ok2(i)& "<br />")


Next 

%>

<form action="#" method="get" name="f" >
    
<input name="a" type="checkbox" value="1"  />a<br />
    
<input name="a" type="checkbox" value="2" />b<br />
    
<input name="a" type="checkbox" value="3" />c<br />
    
<input name="a" type="checkbox" value="4" />d<br />
    
<input name="a" type="checkbox" value="5" />e<br />
    
<input type="submit" value="go" />
</form></body>
</html>
posted on 2007-10-29 21:15  超少  阅读(150)  评论(1编辑  收藏  举报