Window init() error / Cannot assign to '[number]'


I’m trying to get a dhtmlxWindow in a page, after ‘onclick’ on a object; this page contains already Grids, Tabbar, etc …

I’ve tried to use the example code from samples:


var dhxWins = new dhtmlXWindows();


    dhxWins.setViewport(350, 50, 400, 400); = “#909090 1px solid”;


var w1 = dhxWins.createWindow(“w1”, 10, 10, 320, 240);

    w1.setText(“Filters for studies”);




I’m getting the error " Cannot assign to ‘[number]’ ".

Thanks for your help.



dhtmlxWindows code correct, it seems problem with other part of script. What is “dhtmlxwindows_mod.js”?
could you please attach demo to vire issue or give us direct link?


Sorry, I took an example and tried it, but I really didn’t realised that “dhtmlxwindows_mod.js” was the error.
I can’t find it again, so I don’t know where was this example.
Sorry for that “stupid” error.