A
A
AKurmazov2018-09-19 18:23:25
JavaScript
AKurmazov, 2018-09-19 18:23:25

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.
5ba269e902226034986149.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
ryvkin-sergey, 2018-11-21
@ryvkin-sergey

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 question

Ask a Question

731 491 924 answers to any question