Categories | Question details Back To List | ||
Dhtmlx Schedular 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..... Answer posted by Alex (support) on Dec 09, 2009 05:00 Please check this answer http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=13355 Possibly it'll help to resolve the issue Answer posted on Dec 10, 2009 03:02 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];
accroding to your instruction...... in http://dhtmlx.com/docs/products/kb/index.php?s=normal&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... Answer posted by Alex (support) on Dec 10, 2009 03:11 >> and this is only one value.... is this key or label????? >> txta.value = "SUNDAY"; txta.value is a key of an option. Answer posted on Dec 10, 2009 03:21 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..... Answer posted on Dec 10, 2009 03:51 i am waiting , please reply.... Answer posted by Alex (support) on Dec 10, 2009 06:18 The example of adding option to the html select : selectEl.options[selectEl.options.length]=new Option("amit",1); |