SyntaxFix
Write A Post
Hire A Developer
Questions
$("#my_select").select2('destroy').empty().select2({data: [{id: 1, text: "new_item"}]});