- Joined
- Oct 24, 2013
- Messages
- 47
- Reaction score
- 0
How can I make the ddChild dropdown conditionally required and its selected value should not be the initial value(which is value=""), but only if the ddParent dropdown's selected value is 3, using the jQuery Validation Plugin.
have using this plugin
HTML:
<form id="myForm">
<select name="ddParent" id="ddParent">
<option value="">Please select</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<select name="ddChild" id="ddChild">
<option value="">Please select</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
</form>
have using this plugin
Last edited: