Onclick not working for menu's ..

attached onClick event not working … pls find code below.
------------------------.js code
menuHeader = new dhtmlXMenuObject(“Div_menuHeaderId”);
menuHeader.loadXML("./js/xml/dhxmenu_web_links.xml", function(){
menuHeader.setItemText(menuTab,""+ menuTab +"");
menuHeader.attachEvent(“onClick”, doOnMenuClick);

doOnMenuClick = function(id){
alert("id : "+id)

<!-- XML loading of menu’s ------->


onClick is not at all funcitoning, kindly help where im doing wrong …
i’m working with DHTMLX 3.0 … its very urgent … thanks …

Locally everything is fine with onClick and hrefs.
Have you seen this sample: dhtmlx.com/docs/products/dht … hrefs.html ?
Could you make and attach completed demo to reproduce the issue and test it?
docs.dhtmlx.com/doku.php?id=othe … leted_demo