I am using filamentgroup jquery selectmenu(), I am calling it on the dynamically built selectlist and on the selectlist which is already built but options are addying dynamically like:
First case
$("presentselectlist").selectmenu(); //present selectlist initialized
$("presentselectlist").html("<option></option>.."); // addding options dynamically
$("presentselectlist").selectmenu(); // then reinitilaized, but not working this line
second case
var newselectlist = $("<select ..."); // creating new selectlist dynamicallly
$(newselectlist).selectmenu(); // then initialized it by selectmenu but not working