To dynamically set the "selected" value of a Select2 component: $('#inputID').select2('data', {id: 100, a_key: 'Lorem Ipsum'});. Where the second parameter is ...
確定! 回上一頁