how to append an option to Jquery Ui MultiSelect Plugin

吴峰
2023-12-01
< select title = "myselect" multiple = "multiple" id = "myselect" name = "myselect" size = "5" >
< /select>
var option = '<option value="' + value + '">' + value + '</option>' ;
$ ( '#myselect' ). append ( option );
$ ( '#myselect' ). multiselect ( 'refresh' ); //刷新select数据
 类似资料:

相关阅读

相关文章

相关问答