[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Jörn Zaefferer
Luc Pestille schrieb: Can you give me an example of it in use - I'm currently just using; $("#admin-jobs").validate(); You can just replace "{required:true}" with the expression, eg. "{required:'#someexpression'}". For more specific help I'd need to take a look at your concrete usecase.

[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Luc Pestille
egroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: 09 May 2007 19:42 To: jquery-en@googlegroups.com Subject: [jQuery] Re: toggleClass and {required:true} Luc, there are two possible solutions: Hack the metadata plugin by setting metaDone on the "toggled" element to

[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Erik Beeson
: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: 10 May 2007 10:39 To: jquery-en@googlegroups.com Subject: [jQuery] Re: toggleClass and {required:true} Luc, Did you not see this reply from Jörn? --Erik On 5/9/07, Jörn Zaefferer <[EMAIL PROTECTED]&g

[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Luc Pestille
eeson Sent: 10 May 2007 10:39 To: jquery-en@googlegroups.com Subject: [jQuery] Re: toggleClass and {required:true} Luc, Did you not see this reply from Jörn? --Erik On 5/9/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Luc, > > there are two possible solutions: Hack the met

[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Erik Beeson
Luc, Did you not see this reply from Jörn? --Erik On 5/9/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Luc, there are two possible solutions: Hack the metadata plugin by setting metaDone on the "toggled" element to false. That causes the metadata to be read again. I recommend a different a

[jQuery] Re: toggleClass and {required:true}

2007-05-10 Thread Luc Pestille
Anyone? This is the last hump I need to get over in my validation! Thanks, From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luc Pestille Sent: 09 May 2007 11:14 To: jquery-en@googlegroups.com Subject: [jQuery] toggleClass and {required:true

[jQuery] Re: toggleClass and {required:true}

2007-05-09 Thread Jörn Zaefferer
Luc, there are two possible solutions: Hack the metadata plugin by setting metaDone on the "toggled" element to false. That causes the metadata to be read again. I recommend a different approach: Use the required-with-dependency feature to make the validation more dynamic. You can use both j