I have my Select box in following manner, which i cannot change.
<select name='box2' id='box2'>
<option value="select"> Select </option>
<option value='hundread'> hundread </option>
<option value='two'> two </option>
</select>
Now i've to make the validation as required, by keeping class="required" will not help me, coz first element has value as "select". Now is there any way to make validation to not select the 1st element based on selectedIndex.
If you may help me by giving custom class rule which i can put directly on tag like
<select name='box2' id='box2' class="required[---some rule to check selectedIndex is not 0---]">