Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stefan on Feb 23, 2009 05:41
open dhtmlx forum
Error 0x80004003 in dhtmlxwindows.js using FireFox3

Using the following code works fine in IE6 but does not in FF3. The error-message in Firebug is:
uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: file:///C:/080_Programming/codebase/dhtmlxwindows.js :: anonymous :: line 87" data: no]

...
<div id="contentID">
Some text <br>
<br>
<a href="javascript:status.setText('neuer Statustext');">change StatusText</a>
<br>
<a href="javascript:dhxAccord.cells('projects').open();">change Accordion</a>
<br>
<a href="javascript:dhxAccord.cells('vehicles').open();dhxTreeM.selectItem(12);">select AccordionNode</a>
</div>

<script>
var obj = document.getElementById("contentId");
dhxLayout.cells("c").attachObject(obj);
//dhxLayout.cells("c").attachObject("contentId");
</script>
...
Answer posted by Support on Feb 23, 2009 06:02
Coud you please provide completed demo?