I am using jQuery plugin msDropdown for displaying dopdown-lists with images.
I try to dynamically add an option and to refresh a msDropdown dropdown list , I tried
dropdown.add(json_row);
dropdown.refresh();
dropdown.set("selectedIndex", new_index);
dropdown.refresh();
I have issues :
- it takes several seconds to add the row (really too much time)
- it doesn't display the icon , just displays text
- it doesn't set the new index
Do you know how to make it quickly and efficiently?