[jQuery] Re: [Validate] Modifying validate options after page load.

2009-03-06 Thread Mark Perry
n Zaefferer wrote: > Try this: > > var validator = $("#myform").validate(...); > $(".button").click(function() { >   validator.settings.submitHandler = function() { ... }; > > }); > > Jörn > > On Fri, Mar 6, 2009 at 1:02 PM, Mark Perry wro

[jQuery] [Validate] Modifying validate options after page load.

2009-03-06 Thread Mark Perry
Hi This is a strange question I know but I would like to modify the validate options to my form based on a click of a button. For example my default onload code sets up the .validateI() class with my options then based on a user clicking a button I want to override the "submitHandler" options wit