Often on a website, if I enter the wrong password by mistake, I get a page back that indicates the wrong credentials, but Chrome (Or whatever) prompts me with “Would you like to remember this password?”
Is there any way to hint to the browser that now is not the time to ask, so that it only prompts if the user enters a correct password?
You could use JQuery & Ajax to post the login form to the server and recieve a response back without ever reloading the page, thus avoiding this problem altogether.
EDIT
Something along the lines of this (untested):