how to set the selected index for web combo in javascript.
am using below code:
var combo= igcmbo_getComboById("<%=wcProducts.ClientID%>"); combo.setSelectedIndex=-1;
but its not working pls help me
Hi meetarun,
Thank you for posting in the community.
Please note that setSelectedIndex is a function and not a property, i.e in order to set it you can use something similar to:
igcmbo_getComboById("WebCombo1").setSelectedIndex(3)
Hope this helps.
Please feel free to contact me if you have any further questions regarding this scenario.