Answer the question
In order to leave comments, you need to log in
Why does the site reset the value of input fields when they are entered via Jquery?
This code is injected into the DOM of the page, it has a simple authorization form and a submit button.
The fields are filled, but the button remains inactive, and if you poke somewhere, the fields are reset.
What is the best way to implement this? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
1) Wait, isn't that how it's supposed to work?
2) If it doesn't help, try triggering the onchange event for input fields before clicking.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question