<% Function oCheckEd(temp, NewIs) Dim document, iii oCheckEd = "" document = Split(temp, "|") For iii = 0 To UBound(document) If Trim(NewIs) = Trim(document(iii)) Then oCheckEd = " checked" End If Next End Function Dim sId sId = "asp|php|aspx" %> <input name="checkbox" type="checkbox" value="asp" <%=oCheckEd(sId,"asp")%>> <input name="checkbox" type="checkbox" value="java" <%=oCheckEd(sId,"java")%>> <input name="checkbox" type="checkbox" value="php" <%=oCheckEd(sId,"php")%>>(鼠标移到代码上去,在代码的顶部会出现四个图标,第一个是查看源代码,第二个是复制代码,第三个是打印代码,第四个是帮助)