Firefox and IE ask me to save the password. Why doesn\'t Chrome ask me? What do I have to change?
Your form needs a destination. Just assign action. For example create a file called "test.html" and then:
<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>
I believe this question has already been adressed 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 -->