In Dhtmlx Schedular I have add a drop down list… but this drop down list made in init() method… now when user change the value in drop down list, i want to use ajax, and want to fill another drop down. this second drop down value will come from server. where i can write java script event onchange()(in first drop down, where i can write java script event onchange())…
please help me by example…
Please check this answer dhtmlx.com/docs/products/kb/inde … al&q=13355
Possibly it’ll help to resolve the issue
okk its fine but one more dought…
but if I want to set the value in another Drop down…
then i am using,…
var txta = document.getElementsByTagName(“select”)[8];
txta.value = “SUNDAY”;
accroding to your instruction… in dhtmlx.com/docs/products/kb/inde … al&q=13355
but this is not working…
and this is only one value… is this key or label???
tell me please ASAP
but this is not working…
can you tell me how i can set value in combo box…
>> and this is only one value… is this key or label???
>> txta.value = “SUNDAY”;
txta.value is a key of an option.
I am confused …
can you write sample code for these values
this is (key,label)==== (1,amit) (2,DAVID) (3,Jhon)
how to put this 3 key,value in second combo box, on change of first combo box…
please…
i am waiting , please reply…
The example of adding option to the html select :
selectEl.options[selectEl.options.length]=new Option(“amit”,1);