I'm using jQuery Validation Plugin 1.9.0 (from http://bassistance.de/) In my form I have two select menus. When the value of first is changed the second menu is populating with some data using json. The problems is that when row with no data is selected in second menu validation code doesn't warning about that and the form is proceesed as usual. What to do so validator to check second menu correctly even when is populated via ajax (json) ?
Here is my code
$("#my_form").validate({
rules: {
first_menu : 'required',
second_menu : 'required'
}
});