The addInput and setValue function seem to have a Problem with Text including an & (Ampersand).
In this case i get the ‘Null or not an Object’ Error .
Is there any workaround for this ?
You can try to make a small modification in the dhtmlxtoolbar.js file, addInput method, line 356:
dhtmlXToolbarObject.prototype.addInput = function(id, pos, value, width) {
// please, add this line line
value = String(value).replace(/&/g, “&”);
…