很简单 把本来为password的input改成text, 再加上onfocus="this.type='password'"this
password
input
text
onfocus="this.type='password'"
<li><em>设置密码</em><input type="text" name="passwd" onfocus="this.type='password'" /></li>
这样就能够了~code