Klaus Hartl schrieb:
> Andreas Wahlin schrieb:
>
>> Is there a way to break the $.each loops?
>> I'd like it to be
>> $.each(object, function() {
>> break;
>> });
>>
>> but it doesen't seem so.
>>
>> Andreas
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
>>
>
> Andreas, if I remember correctly, the following should work:
>
> $.each(object, function() {
>
> return false;
> });
>
That isn't supported. The necessary code was removed due to unsolved
problems. Actually the stuff that Michael just posted would help a lot
to solve it, though I'm not sure if it is even possible, due to the
Function.apply usage.
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/