Monday, May 30, 2011

How to check if the form passes all ASP.NET validations on client side


$(document).ready(function() {

$("form").submit(function()
{
Page_ClientValidate();
if (Page_IsValid)
{
//Ajax call
}
});


});

No comments:

Post a Comment