Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Thulasi on Dec 08, 2008 10:26
open dhtmlx forum
Unselecting the option

I am trying to unselect the selected option using 'billablePartyId.unSelectOption();' but does not seem
to work.

Below is the code:

billablePartyId.clearAll();
billablePartyId.unSelectOption();
billablePartyId.loadXMLString(bpInXML);

Thanks for your help.
Answer posted by Support on Dec 09, 2008 02:10
If you need to remove all options including selection and reload combo, you can use 
billablePartyId.clearAll(true); //parameter forces clearing of currently selected value
billablePartyId.loadXMLString(bpInXML);