First time, When I load page, my select box is empty:
Then I ma
Don't ask me why, but this only worked for me until I used double quotes ->"<- for all strings involved in this instruction:
$("#secondaryTitle").selectmenu("refresh", true);//working
I had it like this:
$('#secondaryTitle').selectmenu('refresh', true);//not working
and it not worked :S :S :S
Never mind!
I should check documentation properly:
//refresh value
$('#select').selectmenu('refresh');
//refresh and force rebuild
$('#secondaryTitle').selectmenu('refresh', true);