Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cyril on Jun 25, 2008 13:41
open dhtmlx forum
MenuBar.setOnClickHandler(onClickMenu) & IE 6

Hi,

On IE 6 when I click on the menu the OnClick work only the first time. (I use the latest build of the menu #80512).

MenuBar.setOnClickHandler(onClickMenu) ;
...
function onClickMenu(id)
{
alert(id);
}

That works perfectly with IE 7 and FF 2.0

Thank you
Answer posted by Support on Jun 26, 2008 04:55
Please check attached sample, it uses the same event code and it works correctly in IE6
If problem still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtmlx.com )
Attachments (1)
Answer posted on Jun 26, 2008 05:58

 

Thanks that works fine the IE 6.

My mistake was to put the aMenuBar.setOnClickHandler(onClickMenu); before the aMenuBar.loadXML("_menu.xml");