Suppose I need to write an onclick handler in an attribute, like this:
<a href='#' onclick='DoSomething(); event.stopPropagation(); return false;'>
...</a>
I know this is bad form, but suppose for the moment that I have to use an attribute.
Unfortunately event is not defined. I tried e and that is not defined either. Is there any way to access the event object inside the attribute, or any other way to stop the event propagation?