On Mar 23, 2009, at 5:32 PM, John Smith wrote:
In my case i need prevent bubbling. Guess there arent any way to do
what i need :(
sure there is. to prevent bubbling, use event.stopPropagation();
http://docs.jquery.com/Events/jQuery.Event#event.stopPropagation.28.29
--Karl
Kar
In my case i need prevent bubbling. Guess there arent any way to do
what i need :(
Why not do:
$('#first').click(function(e) { e.preventDefault(); });
--John
On Mon, Mar 23, 2009 at 9:20 AM, John Smith wrote:
>
> I have 2 containers
>
> i disabled event bubbling for first container. This is must have $
> ('#first').click(function() { return false; });
>
> Now i need to dete
3 matches
Mail list logo