-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpassword.html
More file actions
33 lines (33 loc) · 1.1 KB
/
password.html
File metadata and controls
33 lines (33 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("#abv").click(function(){
var ar=[];
$("input[type=password]").each(function(){
ar.push($(this).val());
});
var a=ar[0];
var b=ar[1];
alert("old-pass:"+a+"new:"+b);
});
})
</script>
<input type="button" id="abv" value="测试用按钮"/>
<table>
<tr>
<td width="100" height="40"><div class="text_rg">旧密码:</div></td>
<td width="600">
<div class="inp">
<input class="input_text2" old-password type="password" check-trigger="blur" check-len=1-20 check-message="<div class='no png'>请输入正确的密码</div>" check-ok="<div class='pass png'></div>" />
</div>
</td>
</tr>
<tr>
<td height="40"><div class="text_rg">新密码:</div></td>
<td>
<div class="inp">
<input class="input_text2" new-password type="password" check-trigger="blur" check-len=6-20 check-message="<div class='no png'>请输入正确的密码</div>" check-ok="<div class='pass png'></div>" />
</div>
</td>
</tr>
</table>