I have a form with two select boxes. First one is styled using msdropdown. I am validating the form using jquery validation(required). When I submit the form that two select boxes will be validate and error messages is showing. Thats fine.
But my issue is when I just changed the select box options, the validation message is clearing for normal select box. But it is not clearing for msdropdown select box. I need to click again the submit button to clear the messages. What should I do to validate that when I changed the select box option?
This is my validation rules block.
$(document).ready(function(e) {
$("body #webmenu").msDropDown();
$("#frmTest").validate({
rules: {
normal: {
required: true
},
webmenu: {
required: true
}
}
});
});
I have created a fiddle with the scenario. Please have a look at it.