How can I add or remove options in JQuery UI Multiselect ? I am initializing the multiselect on page load and I need to remove existing values and add new values based on anothe
In my case, I just wanted to replace all previous content of multiselect with new.
This worked for me:
$('#multiselect_id').html(newHtml); $('#multiselect_id').multiselect('refresh');