is there a way out of the box to display the client side validation message through an alert instead of span?
Thanks...
It's just the jQuery validator, so you should be able to do the usual:
if (jQuery.validator) {
jQuery.validator.setDefaults({
showErrors: function (errorMap, errorList) {
// do stuff
}
});
}
div returned by the server-side validations and (2) show it in an alert on $.ready(). That said, pages which show a browser-modal dialog on load are kind of obnoxious on a multi-tabbed browser.