jQuery after onclick

Posted by Ivan90 on Stack Overflow See other posts from Stack Overflow or by Ivan90
Published on 2010-03-23T09:26:57Z Indexed on 2010/03/23 9:33 UTC
Read the original article Hit count: 238

Filed under:
|

Hi guys,

I've a form with different field, a validation summary and a button Sign up! When I click on Sign up, if a field is empty, it active validation summary and until here there's no problem.

So the problem is that I would want active a jQuery script after it was clicked Sign up button and it appeared validation summary.

I try with

$(this).load(function()

but in effect it occur when the page is load and not after the button is clicked. I try also use button's onclick ,but I have to use script after onclick and not while.

I used Validation group for all field of form, also button and for this reason it seems doesn't postback!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery