forum

home / developersection / forums / how to raise a callback when asp.net mvc client validation fails

How to raise a callback when ASP.NET MVC client validation fails

Ailsa Singh 1496 05-May-2017

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


Updated on 06-May-2017
Can you answer this question?

Answer

2 Answers

Liked By