Firefox 和 IE 要求我保存密码。 为什么 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>
最佳答案
您的表单需要一个目的地。只需分配操作。 例如,创建一个名为“test.html”的文件,然后:
<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>
关于HTML:Chrome 保存密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15431783/