Hey!
With .is(’:valid()’); how can select in a form is valid all data? And then enable button with .prop? Any idea?
Thanks
Hey!
With .is(’:valid()’); how can select in a form is valid all data? And then enable button with .prop? Any idea?
Thanks
Are you trying to use jQuery validator?
Well i prefer front end validation but this way may be I drop this idea.
jQuery validator IS front-end validation. But, if you aren’t using that, where are you finding .is(':valid()');
?
.is select same like :valid with pure css3. So its works in only one input field but not know how to seperate it… Like 5 inputs with custom pattern
Well, the logic goes like this:
isValid
, that is false. Also, the submit button has a disabled
attribute.disabled
attribute is removed.that’s the logic. As to code…