javascript - How to not refresh selected items in multiselect -


i'm using multiselect jquery plugin dynamic select of recipients (by profile level [master, administrator, etc] message box. so, when selected (in single select), profile level, application search in database , return select, use

$('#recipients').multiselect('refresh');  

to update multiselect box. but, in multiselect plugin have 2 boxes (selectable , selection), , when refresh multiselect, every option selected (on selection box) disappears, , first box (selectable) refreshed. know if has way refresh selectable box, , keep selected options in selection box without change on refresh?


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -