dhtmlxCombo getChecked()

Hello,



How can i get the text selected in dhtmlxCombo with checkbox ?

i find only the function getChecked() which return a liste of value but not text.



Thanks

Best regarde



Ke


Hello,


you can get option text by its value:


var optionText = combo.getOption(value).text;


So, try to use the following:


var values = z.getChecked();


var arr_text = new Array();


for(var i = 0; i < values.length; i++)


arr_text.push(z.getOption(values[i]).text);









Ok, thanks very much