Dynamically add content in the multiselect dropdown in jquery
问题 I have some doubt on multiple select in dropdown with checkbox. i want to dynamically add the content in drop down whenever i upload a image in jquery.How to refresh dropdown with new data? $('#listImage').multiselect({}); once i get the new data i tried to refresh the multiselect but that throws error. $("#widgetSettingsForm select[multiple]").multiselect('rebuild'); Uncaught Error: no such method 'rebuild' for multiselect widget instance(...) 回答1: Use refresh instead of rebuild : http:/