In this sample code there is a ajax select2 and you can set new value with a button. $("#btn").click(function() { $('#sel') .empty() //empty select ...
確定! 回上一頁