登陆asp class(5)
Response.Write " }" & vbCrLf
Response.Write " if (theForm['password'].value == """"){" & vbCrLf
Response.Write " errMsg = ""请填写登录密码!"";" & vbCrLf
Response.Write " setfocus = ""['password']"";" & vbCrLf
Response.Write " }" & vbCrLf
Response.Write " if (theForm['username'].value == """"){" & vbCrLf
Response.Write " errMsg = ""请填写登录用户名!"";" & vbCrLf
Response.Write " setfocus = ""['username']"";" & vbCrLf
Response.Write " }" & vbCrLf
Response.Write " if (errMsg != """"){" & vbCrLf
Response.Write " alert(errMsg);" & vbCrLf
Response.Write " eval(""theForm"" + setfocus + "".focus()"");" & vbCrLf
Response.Write " }" & vbCrLf
Response.Write " else theForm.submit();" & vbCrLf
Response.Write "}//-->" & vbCrLf
Response.Write "</script>" & vbCrLf
Response.Write " <table border=""0"">" & vbCrLf
Response.Write " <form action=""?action=chklogin"" method=""post"" name=""loginform"" onsubmit=""VF_loginform();return false;""> " & vbCrLf
Response.Write " <tr>" & vbCrLf
Response.Write " <td><span style=""width:80px;"">用户名:</span></td>" & vbCrLf
内容版权声明:除非注明,否则皆为本站原创文章。