Sample: dhtmlxToolbar Input Item Creation dhtmlxToolbar main page
X
Position
Value
Width
Add?
 
<script>
 
    var webBar = new dhtmlXToolbarObject("toolbarObj");
    ...
    // adding an input item
    webBar.addInput(id, pos, value, width);
    // removing an input item
    webBar.removeItem(itemId);
</script>