When executing the following code in Firefox, I''m getting an Uncaught Exception rather than breaking out of my each() call: $(ctxEl).ancestors().each(function(el) { menu = __ctxMenus[el.id]; if (menu != undefined) { ctxEl = el; throw $break; } }); In other spots, $break appears to work OK. Have I got some weird syntactic problem in ths above code? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---