views:

330

answers:

0

Hi I have a html code:

<a onclick="return OnDigitClick('2')">2</a>

And global event handler:

addEventListener("click", function(event) {...}, true);

The problem is that onclick function for the 'a' element is never executed. It seems that global event handler prevents it from execution. Is there any way to solve this? Or mayby I can fire this function manually from an event handler (how)?

related questions