W
W
wutox2016-05-03 10:02:13
JavaScript
wutox, 2016-05-03 10:02:13

How to hide/show div depending on form validity/non-validity (on client-side validation) in mvc?

How to hide/show div depending on form validity/non-validity (on client-side validation) in mvc?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dark Hole, 2016-05-03
@wutox

When a form becomes valid - div.style.display = 'none';and when not valid -div.style.display = ''; // пустая строка

R
Roman, 2016-05-03
@yarosroman

https://jqueryvalidation.org/ and you don't have to invent anything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question