Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 13, 2007 14:28
open dhtmlx forum
I've a problem when I want to use a context menu with IE6. When I add this single line in my code, ...

I've a problem when I want to use a context menu with IE6. When I add this single line in my code,  IE6 stops with the

 error. 

 w_menu=new dhtmlXContextMenuObject('120',0,"Menu");

The script works fine with Firefox
Answer posted on Feb 13, 2007 14:29

This is native problem of IE. Please call initialization code in onload event, not just from html.

Something similar to the next:

 

<script>

                function init(){

                       w_menu=new dhtmlXContextMenuObject('120',0,"Menu");

                }

</script>

<body onload="init()">

                ...

</body>

Answer posted by Stanislav (Support) on Dec 06, 2014 14:53

Having solved the problem mentioned above, you may also look through the possible related problems with datagrid web and free calendar scheduling.