validation according to dropdown in jquery code example Example: dropdown validation using jquery BY LOVE if($('#ddlState option:selected').val() == "")