I have 2 containers i disabled event bubbling for first container. This is must have $ ('#first').click(function() { return false; });
Now i need to detect if user clicked outside #second container $ (document).click(function () { alert('clicked somewhere'); }); Clicking on #first doesn't show me alert. Is there any way to force bubbling??. I cant add this alert to #first click, because there can be 1000 that kind of elements.