点击复选框密码显示出来
// pw =document. getElementById("password");
var pwCheck =document. getElementById("passwordCheck");
pwCheck. addEventListener('change', function(){    if(pwCheck.checked){
        pw. setAttribute('type', 'text');    }else{
        pw. setAttrbute('type', 'password');    }
}, false);