Hot!Ajax

...because open source matters

  • Increase font size
  • Default font size
  • Decrease font size

基于jQuery的密码强度验证

E-mail
(30 VOTITALY_VOTES, VOTITALY_AVERAGE: 3.93 VOTITALY_OUTOF)

顾名思义jQuery验证密码强度插件(jQuery Password Strength Plugin)能够显示你的密码强度。当用户在密码区输入密码时,它会根据密码的组成类型给出密码强度值。

 

预览

http://www.hotajax.org/download/jquery/password/jQuery%20Password.htm

Password Strength Meter

使用方法简介:

1.在head区加入以下代码:

 

<LINK 
media=screen href="/
http://www.hotajax.org/download/jquery/password/jq.css"
type=text/css rel=stylesheet>
<SCRIPT src="/
http://www.hotajax.org/download/jquery/password/jquery.js"
type=text/javascript></SCRIPT>

 

<SCRIPT src="/
http://www.hotajax.org/download/jquery/password/jquery.tabs.pack.js"
type=text/javascript></SCRIPT>

<SCRIPT src="/
http://www.hotajax.org/download/jquery/password/jquery.pstrength.1.2.js"
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>

$(function() {
// initialize the tabs
var main = $('#main').tabs(1);
$('#samples').tabs(
{ selectedClass: 'sample-tab-selected', bookmarkable: false });

$('.password').pstrength();

});

</SCRIPT>

 

2.建立表单如本例所示:

 

<FORM>
<FIELDSET><LEGEND>Password Strength Meter</LEGEND><INPUT class=password
type=password> </FIELDSET> </FORM></DIV>
<DIV class=tabContent id=options>

 

下载


Comments (0)add comment

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy

LBL_NEWERNAME

 

Google Translator

link

  • jQuery

  • MooTools

  • boygj.com

  • Ajax技术论坛

  • QQ网址大全
  • Joomla!-开源天空
  • Web Development (Scripts) - TOP.ORG

We have 56 guests online