摘要:1 <script language="javascript"> 2 function getfocus(){ 3 document.getElementById("bkname").focus(); 4 } 5 </script> 6 7 <body onload="getfocus()">
阅读全文
摘要:1 <% 2 Dim N,M,i 3 N=13866669999 4 for i=1 to Len(N) 5 M=mid(N,i,1) 6 Response.write "<img src='"&M&".png'>" 7 next 8 %>
阅读全文
摘要:1 <% 2 Randomize 3 Do While Len(pass)<12 '随机密码位数 4 num1=CStr(Chr((57-48)*rnd+48)) '0~9 5 num2=CStr(Chr((90-65)*rnd+65)) 'A~Z 6 num3=CStr(Chr((122-97)*
阅读全文
摘要:<% If Not Recordset1.EOF Or Not Recordset1.BOF Then dxgis=(Recordset1.Fields.Item("dxg").Value) End If ' end Not Recordset1.EOF Or NOT Recordset1.BOF
阅读全文
摘要:<script language=javascript> function checkform(){ //定义一个名为checkform的函数 if(document.form1.user.value=="") //检查表单1中的user文本框的值是否为空 { alert("用户名不能为空"); /
阅读全文
摘要:head引用公共文件: <!--#include file="../CUsing/printhead.asp" --> body添加代码: <input type="button" value="打印报表" onclick="preview(1)" /> <!--startprint1--> 正文
阅读全文
摘要:<a href="javascript:history.go(-1)">返回上1页面</a>
阅读全文
摘要:<!--#include file="../common/foot.asp" -->
阅读全文
摘要:<%Session.CodePage=65001%>
阅读全文