how to append an option to Jquery Ui MultiSelect Plugin

  
  
  
  
< 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数据

你可能感兴趣的:(jquery,plugin)