selectmenu('refresh') when removing items

selectmenu('refresh') when removing items

selectmenu('refresh') when removing items: observed issue in UI

In my code I am using jQuery to clear a menu in-place and re-render it. Effectively I run:

$('#selectmenu').html('');
$('#selectmenu').append('<li>Item</li>');
$('#selectmenu').selectmenu('refresh');

However, in the UI, upon clicking the menu, the lightbox style list of options still shows old options (Chrome 10.0.648.204 as test browser) even though they are not clickable. Fortunately, only the new options are clickable.

FYI to dev team.



    • Topic Participants

    • jon