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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -