html - Using two class attributes -


i using jquery validationengine.js plugin validating input fields. requires me add class="validate[required] text-input" can validate when submit form. have class="form-control" and, due this, validation not working. if remove class="form-control" validation work input box misaligned. there way can keep both? or other solution problem ? thanks!

<input name="selectagent" type="text" class="form-control" id="selectagent" class="validate[required] text-input" > 

add classes @ once. having 2 class declarations can cause error.

use (notice how form-control added end of class space how can add class)

<input name="selectagent" type="text" id="selectagent" class="validate[required] text-input form-control" > 

instead of

<input name="selectagent" type="text" class="form-control" id="selectagent" class="validate[required] text-input" > 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -