Hello
I am trying to stop an event bubbling up in Firefox. A function is called like this:
Code:
<span onclick="popupTranscript(objectID,event);return false;" >...
The body has an onclick event handler which does various things. I don't want this to be called when the user clicks the span above.
In IE this is no problem. In the function popupTranscript I simply do
Code:
window.event.cancelBubble=true
but what is the solution in Firefox? I tried e.preventDefault where e is the event object but nothing doing.
Anyone know?