I have two sliders in a toolbar ando two input boxes.
I have attached ‘onEnter’ and ‘onValueChange’ events to the toolbar.
I use these to manipulate the values since the value of the slider and the input boxes are two ways for selecting the values.
When I change the value for a slider using toolbar.setValue(‘edate_slider’, enteredDay, true) nothing happens, the value of the slider is not changed. Firing up the debugger results in a error on line 126 in dhtmlxtoolbar.js :
“”+(data.getAttribute(“textMax”)!=null?data.getAttribute(“textMax”…
TypeError: Result of expression ‘this.idd’ [undefined] is not an object.
If I replace the true with false : toolbar.setValue(‘edate_slider’, enteredDay, false) , the sider is changed, but the other slider is not automatically changed since the code for this is not triggered.
Is the problem resulting from the fact that I trigger an event from within another event handler for the same toolbar ?
TypeError: Result of expression ‘this.idd’ [undefined] is not an object.
If I replace the true with false : toolbar.setValue(‘edate_slider’, enteredDay, false) , the sider is changed, but the other slider is not automatically changed since the code for this is not triggered.
Is the problem resulting from the fact that I trigger an event from within another event handler for the same toolbar ?