(re)set selectmenu programatically
Since afaik the possibility to set the status of selectmenu via 'value' or 'index' is removed, how can i change the index of the selectmenu (eg. after onchange is detected)?
thanks
chris
edit: i managed to do it by refreshing the whole thing
$(".selector").selectmenu({change:function(event, ui){$(this).val('').selectmenu('refresh')}});