<select name="child_class" class="drop-select-2">
<option value="" >Choose...</option>
<option value="1" >1</option>
<option value="2" >2</option>
</select>
I have this select. I want to use jQuery validator on my form and not allow to select "Choose..." option. I have read a lot of stackoverflow question with the same problem and everywhere is that value="" makes it. But in my case it does not work, validator simply does not validate this input. Why is that?
In validator rules I have:
rules: {
child_class: 'required'
...
}
What is wrong?