[jQuery] Re: cancel jQuery binded event handlers

2009-01-30 Thread 1nd1go
> Having both inline and bound event handlers will always cause > confusion. true, but onclick inline handler is appended by a4j framework, which I can't influence :( The only thing I can do is to append guard to that handler, like in the first example. > You could use event.stopImmediatePropag

[jQuery] cancel jQuery binded event handlers

2009-01-29 Thread 1nd1go
Hi all, I am trying to cancel event propagation in handler I have defined in the following manner: element.onclick = fuction() { /* first handler */ } I have also defined handler with jQuery: $('element').click( function() { /*second handler*/ } ) So the point is I want to prevent invocation o