Categories | Question details Back To List | ||
Error with trees in Firefox. OK in IE6. Hello: I have used dhtmlxcommon_debug.js and the loading of the first level in the tree has been a success in both navegators (FF and IE6), the first node has been printed. This is the response: <tree id='0' radio='1'><item text='First' id='1' im0='books_close.gif' im1='books_open.gif' im2='books_close.gif' child='1'></item></tree> The problem appears when I try to expand the First element (id='1') in Firefox. Inspite of returning a correct XML, firefox show me the two alert messages "Error Type: load XML, Description: incorrect XML" and "...XML refers to not existing parent" and the second node is not loaded. This is what the dhtmlxcommon_debug shows: status:200 XML:true response:<item id='1'><item text='Second' id='2' im0='books_close.gif' im1='books_open.gif' im2='books_close.gif'></item></item> Any idea?? Thanks! Answer posted on Apr 11, 2008 10:03 The top element must be a "tree" tag, for any level of tree <tree id='1'><item text='Second' id='2' im0='books_close.gif' im1='books_open.gif' im2='books_close.gif'></item></tree> Answer posted by FGA on Apr 11, 2008 10:29 Thank you!! Already working properly! |