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 > discuss@jquery.com > http://jquery.com/discuss/ >
Andreas, if I remember correctly, the following should work: $.each(object, function() { return false; }); -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/