<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function removeSubmitFocus(){
document.all('pass').outerHTML="<input type=text
name='"+document.all('pass').name+"'
value='"+document.all('pass').value+"'>"
}
</script>
</head>
<body style="border:0;margin:5px;" class="bodyWindow" scroll="auto">
<input type="button" name="hidden1" value="将password改为text "
onclick="removeSubmitFocus()" ><span
style="color:red">先在密码框中输入文字效果更明显</span>
<input type=password name="pass" id="pass"/>
</body>
</html>
(转自: http://hi.baidu.com/xuhui_ss/blog/item/24b41ddb197e09e739012f93.html)