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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -