实时密码强度判断
js文件请到演示页面查看
XML/HTML Code
- <form>
- <div class="form_elem">
- <label>Name:</label>
- <input type="text" id="name" />
- </div>
- <div class="form_elem">
- <label>Date of birth:</label>
- <input type="text" id="dateofbirth" />
- </div>
- <div class="form_elem">
- <label>Current Location:</label>
- <input type="text" id="place" />
- </div>
- <div class="form_elem">
- <label>Password:</label>
- <input id="passwordy" type="password" />
- <div id="feedback"></div>
- </form>
原文地址:http://www.freejs.net/article_biaodan_252.html