Do an ajax request to get a select2 data object (id,text, etc..) of the selected value. Then: var s2 = $("#selectelement").data('select2');
確定! 回上一頁