密码长按可查看
html部分:<a href="javascript:;" onmousedown="pass_view()" onmouseup="pass_hide()">
js部分
<script type="text/javascript">
function pass_view(){
$("#pass_set").attr('type','text');
}
function pass_hide(){
$("#pass_set").attr('type','password');
}
</script>