Hi!!
I am using ASP.NET MVC 5 with
jquery. I need to handle an event when the client side validation fails.
I tried this but got failure:
$("#myform").bind("invalid-form.validate",
function ()
{
alert('invalid!');
}
); Thanks
Hi!!
I am using ASP.NET MVC 5 with
jquery. I need to handle an event when the client side validation fails.
I tried this but got failure:
$("#myform").bind("invalid-form.validate",
function ()
{
alert('invalid!');
}
); Thanks
Other
Hi Ailsa,
According to your description, I suggest you could use valid function to check if current input value is valid or not after the input element lost focus.
I am providing to a script please check it May it helps you..