問題描述:spa
用戶設置密碼時顯示位不可見......和可見(密碼)input
< ———— > 密碼
解決方案:im
控制input的type類型,可見時input=text,不可見時input=password $(input).attr('type','text')word