Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 12, 2007 11:38
open dhtmlx forum
i want to retrieve data from dhtmlxcombo. i tried with getselectedtext() it is not functioning properly. may i have ur suggestion in this regard. I am using vbscript to insert datas in database. if and only if i get data from combo box i can insert.


Answer posted on Oct 12, 2007 18:27
Combobobx provides few methods to get current text and value, for text

combo.getSelectedText()
and
combo.getComboText()

can be used, while first returns value of selected value , second one return exact text which entered in combobox input ( if inputed text doesn't fix any option in select list, first method can return empty value )