Wednesday, March 21, 2012

html click event

In my form tag I have the onsubmit to call my javscript function. I have a web control button on my page that I don't want to call my function. Is there a way to set it to ignore the call?No.

What you can do instead is place your elements in their own form that is not runat="server" If, however, your form elements are intermingled with ASP controls, then you've got a world of hurt.

Instead, you will need to do all the validation server side.

No comments:

Post a Comment