Yeah, I had suggested returning an explicit false from your each 
function should short circuit.  It was an easy add to the jquery source 
too, but I believe jq 1.0 is in feature freeze at the moment.

-Stephen

Dave Methvin wrote:
> There was some discussion of this on the list earlier (June?) but it 
> doesn't look like there is currently a way to break out early. You 
> could wrap the each  in a try/catch and then throw from your function. 
> I don't know if that meets your "simple" criterion though.
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>   

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to