H
H
hollanditkzn2017-07-10 12:28:13
JavaScript
hollanditkzn, 2017-07-10 12:28:13

How to clear the form after closing the modal window?

My problem is that I can’t clear the form after closing the modal window, since there are only 3 modal windows, it turns out that when you close and reopen, the error that the field is not filled remains. For the number I use inputmask.js
My code is here
https://jsfiddle.net/hollanditkzn/3orLu3x0/1/
And here is a screenshot77a7a44b3920464ca6d0d0eeaaf1eeee.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kovalsky, 2017-07-10
@hollanditkzn

form.reset()

Y
yakupov112, 2017-07-10
@yakupov112

https://jsfiddle.net/3orLu3x0/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question