T
T
terkin2011-10-20 14:35:21
JavaScript
terkin, 2011-10-20 14:35:21

Force browsers to remember passwords in AJAX forms?

There is an AJAX authorization form, without the classic form, submit elements. Is it possible to somehow force browsers to offer to save the entered data in such a form?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly, 2011-10-20
@taliban

No, with such authorization, the browser will not remember the password, because they catch the form submission, and you do not have it. So that he remembers the password, you can make a fake submit to nowhere besides the login =) Let's say there is a thread in the iframe.

E
Evgeny Serdyukov, 2013-04-17
@djonik1562

I was looking for an answer to this question and found it.
After receiving successful authorization, you need to do the following
$("form#form1").attr('action', "/").submit();
If you need to go to a specific URL, then substitute your desired URL instead of "/"
And yes, check that the input has a name.

I
Ilya Lesnykh, 2011-10-20
@Aliance

Where does the user enter data? In input or in contenteditable div? If the first - then the form tag must be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question