资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
正则表达式教程
>>>
密码强度检测函数(正则)
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>OA登录</title> <style type="text/css"> <!-- td { font-size: 12px; color: #FFFFFF; text-decoration: none; } input { font-size: 12px; color: #003399; text-decoration: none; background-color: #EFF1F5; border: 1px solid #427CD5; } .style2 {color: #efefef} --> </style> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3CSCRIPT%3E%20%0D%0Afunction%20showImage()%7B%20%0D%0Avar%20imgObj%3Dnew%20Image()%3B%20%2F%2F%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AAImage%E5%AF%B9%E8%B1%A1%20%0D%0AimgObj.src%3D%22http%3A%2F%2Fwww.beingmate.com%2Fimages%2Fbanner_chang_add.gif%22%3B%20%2F%2F%E8%A3%85%E8%BD%BDImage%E6%BA%90%20%0D%0Aif(typeof(imgObj)%3D%3D%22object%22)%7B%20%2F%2F%E5%88%A4%E6%96%ADimgObj%E8%A3%85%E8%BD%BD%E8%BF%87%E5%90%8E%E6%98%AF%E5%90%A6%E4%B8%BA%E5%AF%B9%E8%B1%A1%EF%BC%8C%E9%98%B2%E6%AD%A2%E5%BC%82%E5%B8%B8%E6%93%8D%E4%BD%9C%20%0D%0Avar%20width%3D0%3B%20%0D%0Avar%20height%3D0%3B%20%0D%0Awidth%3DimgObj.width%2B20%3B%20%2F%2F%2B20%E6%98%AF%E5%9B%A0%E4%B8%BAIE%E6%96%B9%E5%BC%8F%E7%9A%84%E9%BB%98%E8%AE%A4%E8%BE%B9%E8%B7%9D%20%0D%0Aheight%3DimgObj.height%2B20%3B%20%0D%0Aif(width!%3D0%26%26height!%3D0)%7B%20%0D%0Awindow.open(imgObj.src%2C%22Imagehow%22%2C%20%22toolbar%3Dno%2Clocation%3Dno%2Cstatus%3Dno%2Cmenubar%3Dno%2Cscrollbars%3Dno%2Cresizable%3Dno%2Cwidth%3D%22%20%2B(%20width%20)%2B%20%22%2Cheight%3D%22%20%2B(%20height))%3B%20%0D%0A%7Delse%7B%20%0D%0AsetTimeout(%22showImage()%22%2C%20100)%3B%20%2F%2F%20%E5%88%A4%E6%96%AD%E5%9B%BE%E7%89%87%E6%98%AF%E5%90%A6%E8%A3%85%E8%BD%BD%E5%AE%8C%E6%88%90%EF%BC%8C%E5%8F%AA%E6%9C%89%E5%9C%A8%E8%A3%85%E8%BD%BD%E5%AE%8C%E6%88%90%E5%90%8E%E6%89%8D%E8%83%BD%E5%8F%96%E5%88%B0%E5%AE%BD%E9%AB%98%E5%80%BC%20%0D%0A%7D%20%0D%0A%7Delse%7B%20%0D%0Aalert(%22%E7%B3%BB%E7%BB%9F%E9%94%99%E8%AF%AF%22)%3B%20%0D%0A%7D%20%0D%0A%7D%20%0D%0A%2F%2FshowImage()%3B%20%0D%0A%3C%2FSCRIPT%3E"> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20type%3D%22text%2Fjavascript%22%3E%20%0D%0A%2F%2FFrom%20BBS.51JS.COM%20By%20%E7%BD%91%E7%BB%9C%E4%B8%9C%E8%A5%BF%20%0D%0Avar%20%24%20%3D%20function(v)%7Breturn%20document.getElementById(v)%3B%7D%20%0D%0Afunction%20isSecurity(v)%7B%20%0D%0A%20if%20(v.length%20%3C%203)%20%7B%20iss.reset()%3Breturn%3B%7D%20%0D%0A%20var%20lv%20%3D%20-1%3B%20%0D%0A%20if%20(v.match(%2F%5Ba-z%5D%2Fig))%7Blv%2B%2B%3B%7D%20%0D%0A%20if%20(v.match(%2F%5B0-9%5D%2Fig))%7Blv%2B%2B%3B%7D%20%0D%0A%20if%20(v.match(%2F(.%5B%5Ea-z0-9%5D)%2Fig))%7Blv%2B%2B%3B%7D%20%0D%0A%20if%20(v.length%20%3C%206%20%26%26%20lv%20%3E%200)%7Blv--%3B%7D%20%0D%0A%20iss.reset()%3B%20%0D%0A%20switch(lv)%20%7B%20%20%0D%0A%20case%200%3A%20%0D%0A%20iss.level0()%3B%20%0D%0A%20break%3B%20%0D%0A%20case%201%3A%20%0D%0A%20iss.level1()%3B%20%0D%0A%20break%3B%20%0D%0A%20case%202%3A%20%0D%0A%20iss.level2()%3B%20%0D%0A%20break%3B%20%0D%0A%20default%3A%20%0D%0A%20iss.reset()%3B%20%0D%0A%20%7D%20%0D%0A%7D%20%0D%0Avar%20iss%20%3D%20%7B%20%0D%0A%20color%3A%5B%22CC0000%22%2C%22FFCC33%22%2C%2266CC00%22%2C%22CCCCCC%22%5D%2C%20%0D%0A%20text%3A%5B%22%E5%BC%B1%22%2C%22%E4%B8%AD%22%2C%22%E5%BC%BA%22%5D%2C%20%0D%0A%20width%3A%5B%2250%22%2C%22100%22%2C%22150%22%2C%2210%22%5D%2C%20%0D%0A%20reset%3Afunction()%7B%20%0D%0A%20%24(%22B%22).style.backgroundColor%20%3D%20iss.color%5B3%5D%3B%20%0D%0A%20%24(%22B%22).style.width%20%3D%20iss.width%5B3%5D%3B%20%0D%0A%20%24(%22A%22).innerHTML%20%3D%20%22%22%3B%20%0D%0A%20%7D%2C%20%0D%0A%20level0%3Afunction()%7B%20%0D%0A%20%24(%22B%22).style.backgroundColor%20%3D%20iss.color%5B0%5D%3B%20%0D%0A%20%24(%22B%22).style.width%20%3D%20iss.width%5B0%5D%3B%20%0D%0A%20%24(%22A%22).innerHTML%20%3D%20%22%E5%AF%86%E7%A0%81%E8%BE%83%E5%BC%B1%22%3B%20%20%0D%0A%20%7D%2C%20%0D%0A%20level1%3Afunction()%7B%20%0D%0A%20%24(%22B%22).style.backgroundColor%20%3D%20iss.color%5B1%5D%3B%20%0D%0A%20%24(%22B%22).style.width%20%3D%20iss.width%5B1%5D%3B%20%0D%0A%20%24(%22A%22).innerHTML%20%3D%20%22%E4%B8%AD%22%3B%20%20%0D%0A%20%7D%2C%20%0D%0A%20level2%3Afunction()%7B%20%0D%0A%20%24(%22B%22).style.backgroundColor%20%3D%20iss.color%5B2%5D%3B%20%0D%0A%20%24(%22B%22).style.width%20%3D%20iss.width%5B2%5D%3B%20%0D%0A%20%24(%22A%22).innerHTML%20%3D%20%22%E9%AB%98%E5%BC%BA%22%3B%20%0D%0A%20%7D%20%0D%0A%7D%20%0D%0A%3C%2Fscript%3E"> <style type="text/css"> <!-- .font14 { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 14px; font-weight: bold; } --> </style> </head> <body background="BG.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <table width="500" border="0" cellpadding="0" cellspacing="2" bgcolor="#427CD5"> <tr> <td><table width="600" height="350" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td valign="top" background="bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="13%" height="126"> </td> <td width="87%"> </td> </tr> <tr> <td> </td> <td align="right"><div align="left"> <span class="font14"><a href="http://www.beingmate.com/user_login/" _ewebeditor_ta_href="http%3A%2F%2Fwww.beingmate.com%2Fuser_login%2F" target="_blank"><font color="#FF3300">贝因美冠军宝贝大赛专用信息平台入口</font></a></span> <p align="center"><font color=#ff0000>用户名或密码错误,请重新输入。</font></p> <form name="loginform" method="post" action="Main.asp" target="_parent"> <div align="left"></div> <table border=0 width="55%" cellspacing=1 cellpadding=3> <tr> <td width="25%" align=right>帐号/编号:</td> <td width="25%"><input name=LoginName type=text size=10 maxlength=20 class="doc_txt" value=""></td> <td align=right>密码: <input name="Pwd" type="Password" size=10 maxlength=20 class="doc_txt" value="" onkeyup="isSecurity(this.value);"></td> </tr> <tr> <td height="50" colspan="3" align=right><div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="36%" align="right"><font class="red" id="A">密码强度检测</font> </td> <td width="64%" valign="top"> <table height="8" border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#EEEEEE" style="border-collapse:collapse;"> <tr> <td bgcolor="#EEEEEE" width="1" align="center" valign="middle" id="B"></td> </tr> </table></td> </tr> </table> <table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="83" align="right"><label> <input type="submit" name="Submit" value=" 登 陆 " onclick="return CheckData();"/> </label> </td> <td width="97" align="center"><a href="USER/REG.ASP" _ewebeditor_ta_href="USER%2FREG.ASP" target="_blank"><font color="#FFFFFF">申请OA帐号</font></a></td> </tr> <tr align="right"> <td colspan="2"> </td> </tr> </table> <input name="login_auto" type="checkbox" id="login_auto" value="1" > 打勾后表示下次自动登陆 <marquee behavior="scroll" scrollamount="3" direction="left" width="150"> <font color="#FFFFFF"></font> </marquee> </div></td> </tr> </table> <div align="left"></div> </form> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3Djavascript%3E%20%0D%0Afunction%20CheckData()%20%0D%0A%7B%20%0D%0A%20if(jtrim(document.loginform.LoginName.value)%3D%3D%22%22)%20%0D%0A%20%7B%20%0D%0A%20%20alert(%22%E8%AF%B7%E8%BE%93%E5%85%A5%E7%99%BB%E5%BD%95%E7%94%A8%E6%88%B7%E5%90%8D%E3%80%82%22)%20%0D%0A%20%20document.loginform.LoginName.focus()%3B%20%0D%0A%20%20return%20false%3B%20%0D%0A%20%7D%20%0D%0A%20if(jtrim(document.loginform.LoginName.value).length%3E100)%20%0D%0A%20%7B%20%0D%0A%20%20alert(%22%E7%99%BB%E5%BD%95%E7%94%A8%E6%88%B7%E5%90%8D%E4%B8%8D%E8%83%BD%E8%B6%85%E8%BF%87100%E4%B8%AA%E5%AD%97%E3%80%82%22)%20%0D%0A%20%20document.loginform.LoginName.focus()%3B%20%0D%0A%20%20return%20false%3B%20%0D%0A%20%7D%20%0D%0A%20%20%20%0D%0A%20return%20true%3B%20%0D%0A%7D%20%0D%0A%3C%2Fscript%3E"> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3Djavascript%20src%3D%22inc%2Fjtrim.js%22%3E%3C%2Fscript%3E"> </div></td> </tr> </table> <div align="right"><a href="http://2006.babyschool.com.cn " _ewebeditor_ta_href="http%3A%2F%2F2006.babyschool.com.cn%20%0D%0A" target="_blank"><span class="font14"><font color="#FFFFFF">2006贝因美冠军宝贝大赛省级晋级赛进行时 </font></span></a><a href="http://oa.beingmate.com/help/" _ewebeditor_ta_href="http%3A%2F%2Foa.beingmate.com%2Fhelp%2F" target="_blank"><font color="#EFEFEF"> 帮助文档</font></a> <a href="feedback.asp" _ewebeditor_ta_href="feedback.asp" target="_blank"><font color="#EFEFEF">意见反馈</font></a><span class="font14"><font color="#EFEFEF"> </font></span><a href="http://oa.beingmate.com/help/" _ewebeditor_ta_href="http%3A%2F%2Foa.beingmate.com%2Fhelp%2F" target="_blank"><font color="#EFEFEF"></font></a> <font color="#0061CE"> 222.212.7.171 </span> </font> </div></td> </tr> </table></td> </tr> </table></td> </tr> </table> </body> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程