A
A
Anton2016-03-04 23:03:31
HTML
Anton, 2016-03-04 23:03:31

Why don't browsers ask to save the password on the login form?

Hello, please tell me why browsers do not request saving the password on the login form, what should be the html attributes or what else could be the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arthur, 2016-03-04
@astralo

If I'm not mistaken, then browsers handle the standard post or get form submission event with a request, without using ajax.
in addition, this feature must be enabled in the browser,
as a rule, they rely on the name fields of the input tags

P
Pavel Volintsev, 2016-03-05
@copist

Remove the form tag, remove the id from the fields, put name="", add autocomplete="off" and process submission only through JS.
Example: codepen.io/copist/pen/pyjdXR
Still doesn't always work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question