<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML Transitional//EN" "/xhtml1/DTD/xhtml1-" ><html xmlns ="9/xhtml"> <head ><meta http-equiv ="Content-Type" content ="text/html; charset=utf-8" /> <title >无标题文档</ title > <style >.label {text-align :right ;color :white } </ style ><script >function toLogin(){ var account =( "account" ).value; account=trim(account); ( "account" ).value =account; if ("" ==account){ alert( "管理员帐号,不可以为空。"); return ;}var accountRegExp =/^[a-zA-Z][\w]{ 5,11 }$/; if (!(account)){ alert( "管理员帐号不是合法的字符串"); return ;}var pwd =( "pwd" ).value; pwd =trim(pwd); if ("" == pwd){ alert( "密码,不可以为空。"); return ;}var pwdRegExp =/^[a-zA-Z0- 9]{ 3,6}$/; if (! (pwd)){ alert( "密码格式不正确"); return ;} var validateCode = ( "validateCode" ).value; validateCode =trim(validateCode); if ("" ==validateCode){ alert( "验证码为空"); return ;}[ 0].submit(); }function trim(str){ var ss =(/^\s+/, "" ); return (/\s+$/, "" ); }</ script ></ head ><body ><div style =" width:600px; height:300px; background-color:#099; margin:auto; margin-top:200px; position:relative ;padding-top:50px;"> <form action ="#" method ="get"> <table align ="center" style ="height:250px;
html模板 来自淘豆网m.daumloan.com转载请标明出处.