Hi,
I have this simple code in my project
var cadre = new dhtmlXLayoutObject(document.body, “2E”);
var menu = cadre.attachMenu();
var status = cadre.attachStatusBar();
status.setText(“D�connect�”);
With Firefox no problem on a PC or a Mac, but with Safari on a Mac an error occurs : status.setText is not a function.
Can you help me please ?
Thanks
Hello,
Please try another variable name, not “status” (it seems “status” links to browser’s status).
For example:
var sb = cadre.attachStatusBar();
sb.setText(…);