To: jQuery (English)
Subject: [jQuery] Re: Plugin Authoring Code Example Incorrect
I ended up using this syntax instead:
return this.each(function(){});
On Nov 7, 11:43 am, "Morten Maxild" wrote:
'return true' is wrong, you need to return the 'wrapped set' to
:-)
-Original Message-
From: Shane Riley [mailto:shanerileydoti...@gmail.com]
Sent: Sunday, November 08, 2009 6:44 PM
To: jQuery (English)
Subject: [jQuery] Re: Plugin Authoring Code Example Incorrect
I ended up using this syntax instead:
return this.each(function(){});
On Nov 7, 11:43 am
Exactly...looks correct:-)
>-Original Message-
>From: Shane Riley [mailto:shanerileydoti...@gmail.com]
>Sent: Sunday, November 08, 2009 6:44 PM
>To: jQuery (English)
>Subject: [jQuery] Re: Plugin Authoring Code Example Incorrect
>
>I ended up using this syntax inste
I ended up using this syntax instead:
return this.each(function(){});
On Nov 7, 11:43 am, "Morten Maxild" wrote:
> 'return true' is wrong, you need to return the 'wrapped set' to support
> chaining. The $().each method does return the 'wrapped set' and you can take
> advantage of this.
>
> HTH
4 matches
Mail list logo