[jQuery] short circuit $().each()
> Won't this potentially break other people's scripts?
Yep. At this point I think most jQuery users are on this list so we should
at least ask...
Is anyone using each() with a function to each() that returns a boolean
value?
> I still prefer the Prototype technique which allows "continue" as well as
"break".
The default for each() is continue since nothing happens after the function
call.
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Dean Edwards
Sent: Thursday, June 01, 2006 2:08 PM
To: jQuery Discussion.
Subject: Re: [jQuery] short circuit $().each()
Stephen Howard