[jQuery] Trouble with $(this) in custom plugin

2009-02-27 Thread Chandler
Hi all. I've started creating a small plugin for an internal project at work however I'm having a bit of trouble. This is my code, (function($){ $.fn.fsGallery = { next: function() { var obj = $(this); if($('ul li.active', o

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
r. > > Currently the most obvious bottlenecks in the validation plugin are > DOM manipulations, when adding lots of error messages on submit at > once. So far that didn't cause any actual issues though. > > Jörn > > > > On Thu, Jun 26, 2008 at 1:53 PM, Chandle

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
tal, as the lack of documentation > indicates, so please let me know if there are further issues. > > Jörn > > > > On Thu, Jun 26, 2008 at 11:30 AM, Chandler <[EMAIL PROTECTED]> wrote: > > > That's brilliant! I do appreciate your help, still mastering jquery. >

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
amp;& jQuery("#textarea2").val != 'booga' } > > } > > Jörn > > > > On Tue, Jun 24, 2008 at 1:52 PM, Chandler <[EMAIL PROTECTED]> wrote: > > > Hi Jörn, > > > It sounds good, but how would I pass maxLength a value? i.e.

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-24 Thread Chandler
.val == > 'buga' && jQuery("#textarea2").val != 'booga' } > > } > > Jörn > > On Fri, Jun 20, 2008 at 7:20 PM,Chandler<[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I'm just getting to grips with this Validation pl

[jQuery] [validate] Validate based on other fields but not being required

2008-06-20 Thread Chandler
Hi all, I'm just getting to grips with this Validation plug-in but would like to check whether something is possible. I would like to run validation on a field based on values from other parts of the form. I realise that this is possible with the required field, i.e. required: function(element)

[jQuery] [validate] Validate based on other fields but not being required

2008-06-20 Thread Chandler
[validate] Validate based on other fields Hi all, I'm just getting to grips with this Validation plug-in but would like to check whether something is possible. I would like to run validation on a field based on values from other parts of the form. I realise that this is possible with the requir