I have two combo boxes. One combo box will have county names. Another combobox will have city names. I have to populate city names based on the county name selected. How to do this?
Hello,
combo has onChange event - it occurs when option is selected. So, you can set onChange event handler for country combo and reload the cities combo here:
combo1.attachEvent(“onChange”,function(){
combo2.clearAll(true)
combo2.loadXML(…+"?val="+combo1.getActualValue())
})