1
votes

what I want to do is to use something like

name="validate[required]"

basically use it other than on class property

thank you.

EDIT: http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/

1

1 Answers

1
votes
$('input[name="validate[required]"]');

In above I used jQuery equal selector. Where I target all inputs with name attribute equal to validate[required].

For more about different jQuery selectors see here