发现发布asp代码时挺方便的。
不用注明前台后台的说明
只要把代码贴上,下次一复制就能用了
 <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!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">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
 <title>无标题文档</title>
<title>无标题文档</title>
 </head>
</head>



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

 ok2=split(ok,", ")
ok2=split(ok,", ")

 For i = 0 To UBound(ok2)
For i = 0 To UBound(ok2) 

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


 Next
Next 

 %>
%>

 <form action="#" method="get" name="f" >
<form action="#" method="get" name="f" >
 <input name="a" type="checkbox" value="1"  />a<br />
    <input name="a" type="checkbox" value="1"  />a<br />
 <input name="a" type="checkbox" value="2" />b<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="3" />c<br />
 <input name="a" type="checkbox" value="4" />d<br />
    <input name="a" type="checkbox" value="4" />d<br />
 <input name="a" type="checkbox" value="5" />e<br />
    <input name="a" type="checkbox" value="5" />e<br />
 <input type="submit" value="go" />
    <input type="submit" value="go" />
 </form></body>
</form></body>
 </html>
</html>
 
不用注明前台后台的说明
只要把代码贴上,下次一复制就能用了
 <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!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">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title>
<title>无标题文档</title> </head>
</head>


 <body>
<body> <%  dim ok
<%  dim ok dim ok2
dim ok2 ok=request.QueryString("a")
ok=request.QueryString("a") response.write(ok+"<br />")
response.write(ok+"<br />")
 ok2=split(ok,", ")
ok2=split(ok,", ")
 For i = 0 To UBound(ok2)
For i = 0 To UBound(ok2) 
 response.Write("您选的第"& i+1 &"个ID:" & ok2(i)& "<br />")
    response.Write("您选的第"& i+1 &"个ID:" & ok2(i)& "<br />")

 Next
Next 
 %>
%>
 <form action="#" method="get" name="f" >
<form action="#" method="get" name="f" > <input name="a" type="checkbox" value="1"  />a<br />
    <input name="a" type="checkbox" value="1"  />a<br /> <input name="a" type="checkbox" value="2" />b<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="3" />c<br /> <input name="a" type="checkbox" value="4" />d<br />
    <input name="a" type="checkbox" value="4" />d<br /> <input name="a" type="checkbox" value="5" />e<br />
    <input name="a" type="checkbox" value="5" />e<br /> <input type="submit" value="go" />
    <input type="submit" value="go" /> </form></body>
</form></body> </html>
</html>
 
                    
                     
                    
                 
                    
                 
 
        

 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号