Javascript 如何在引导duallistbox上使用AJAX
我一直在使用这个,但根本没有文档/ajax示例 甚至试过这样做Javascript 如何在引导duallistbox上使用AJAX,javascript,jquery,ajax,twitter-bootstrap,Javascript,Jquery,Ajax,Twitter Bootstrap,我一直在使用这个,但根本没有文档/ajax示例 甚至试过这样做 $('#bootstrap-duallistbox-selected-list_SelectItem').append('<option value="test" data-sortindex="'+i+'">Test, Test</option>'); $('#bootstrap-duallistbox-selected-list_SelectItem')。追加('Test,Test'); 当我点击这
$('#bootstrap-duallistbox-selected-list_SelectItem').append('<option value="test" data-sortindex="'+i+'">Test, Test</option>');
$('#bootstrap-duallistbox-selected-list_SelectItem')。追加('Test,Test');
当我点击这个按钮时,附加的信息消失了