> Isn't that what $.map does ?
Not really. He wants it so that you can do:
var ret = $.each(array, function(){
if ( this == someValue )
return false;
});
if ( ret == false ) {
// do something
}
the return value will only equal false if a return false was done to
break the loop.
--John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---