<?xml version="1.0"?>
<toolbar>
<item id="new" type="buttonSelect" img="new.gif" imgdis="new_dis.gif" text="New" action="showNewDocumentSelect">
<item type="button" id="new_text" text="Text Document" img="text_document.gif" action="doOnNewDocument"/>
<item type="button" id="new_excel" text="Stylesheet" img="stylesheet.gif" action="doOnNewDocument"/>
<item type="button" id="new_db" text="Database" img="database.gif" action="doOnNewDocument"/>
<item type="button" id="new_pp" text="Presentation" img="presentation.gif" action="doOnNewDocument"/>
<item type="separator" id="new_s1"/>
<item type="button" id="new_other" text="Other" img="other.gif" action="doOnNewDocument"/>
</item>
<item id="sep1" type="separator"/>
<item id="open" type="button" img="open.gif" imgdis="open_dis.gif"/>
<item id="save" type="button" img="save.gif" imgdis="save_dis.gif"/>
<item id="save_as" type="button" img="save_as.gif" text="Save As..." imgdis="save_as_dis.gif" enabled="false"/>
<item id="sep2" type="separator"/>
<item id="undo" type="button" img="undo.gif" imgdis="undo_dis.gif"/>
<item id="redo" type="button" img="redo.gif" imgdis="redo_dis.gif"/>
<item id="sep3" type="separator"/>
myToolbar.getItemText(“new_text”);
dhtmlx.js:9 Uncaught TypeError: Cannot read property ‘getItemText’ of undefined
at dhtmlXToolbarObject.getItemText (dhtmlx.js:9)
at :1:11