2013-03-15 65 views
4

Firefox和IE要求我保存密码。 Chrome为什么不问我?我需要改变什么?HTML:Chrome保存密码

<body> 
    <form action="" name="formlogin" id="formlogin"> 
     Username: <input type="text" name="username" id="username" /> 
     Password: <input type="password" name="password" id="password"/> 
     <input type="submit" name="Submit" value="Submit" /> 
    </form> 
</body> 
+0

: 例如创建一个名为“test.html的”文件,然后? – 2013-03-15 11:58:01

+1

Chrome不喜欢你拼写,因为Chrome为我保存我的密码。 是否保存任何密码? 也许这会帮助: http://support.google.com/chrome/bin/answer.py?hl=zh-CN&answer=95606 – matpol 2013-03-15 11:59:32

+0

我必须使用它。这不是我的选择。 – Maxii 2013-03-15 12:01:05

回答

-1

我相信这个问题已经不客气here.

<form name="formlogin" id="formlogin" action="" method="POST" onsubmit="handleFunction('action_login', document.getElementById('username').value, document.getElementById('password').value); return false;"> 
     Username: <input name="username" id="username" size="16" maxlength="16" value="" type="text"> 
     Password: <input name="password" id="password" size="16" maxlength="16" type="password"> 
     <input type="submit" name="submit" value="Submit"> 
</form> <!-- login_form --> 
+1

它不起作用 – Maxii 2013-03-15 12:07:24

0

你的表单需要一个目的地。只需分配动作。你为什么要不安全的密码帮手

<body> 
    <form action="test.html" name="formlogin" id="formlogin"> 
     Username: <input type="text" name="username" id="username" />  
     Password: <input type="password" name="password" id="password"/> 
     <input type="submit" name="Submit" value="Submit" /> 
    </form> 
</body>