oLink = document.getElementById("ItemDescend");
alert(oLink); // fire up alert with link target
addEventHandler(oLink, "click", function(e) { alert(1); sortTable('theList', 0, true); preventDefault(e); },false); // does not fire up inner alert!
This above code functions in all other browsers as tested, but in Chrome 12 does not. I would be grateful if someone shows me a solution. Thanks.
addEventHandler? You have to post the implementation, otherwise we cannot help.window.event, but it does not haveattachEvent. It would be better to check if oNode hasattachEventdefined. Even better, use a framework that abstracts these details away.