i can't seem to get jquery ui multiselect plugin work with ajax
Posted
by oo
on Stack Overflow
See other posts from Stack Overflow
or by oo
Published on 2010-04-05T14:16:32Z
Indexed on
2010/04/05
14:23 UTC
Read the original article
Hit count: 477
i take a regular multiselect listbox and convert it to a jquery ui multiselect listbox by calling this:
$(".multiSelectMe").multiselect();
As per the API, i call this method in the return of an ajax function
$(".multiSelectMe").multiselect("select", "Item 1");
but nothing seems to happen. i can't figure out a way to have this programatically add items within an ajax call.
i was thinking there was maybe another "refresh" method or something like that but i can't find any.
© Stack Overflow or respective owner