jQuery Validate Plugin overwrite my select onChange postback

Posted by C.Hoffmann on Stack Overflow See other posts from Stack Overflow or by C.Hoffmann
Published on 2010-05-28T12:18:06Z Indexed on 2010/05/28 12:22 UTC
Read the original article Hit count: 282

Filed under:
|
|
|

Hi,

I'm creating this form (.net) where i have a select with a postback, that will trigger a action depending on which option i select. I'm trying to use the jQuery Validate Plugin (plugin website) to validate my form.

My problem is, when i validate the form, and my select is marked as invalid, the validation plugin overwrite it's onChange method to make it unmark when i change the value, the thing is that it's deleting my __dopostback from the onchange, making the form 'useless'.

Is there a way to the plugin validate my selects without deleting my postback action from the onchange?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET