Hello, thanks for your help.
But in fact I can't see any difference.
Maybe it is because I'm doing theses steps on $(document).ready ?
So in $(document).ready I have this:
- the call to the javascript function that populates the select using $.getJSON
- $('#mySelectID').val(myCookie);
- $('#mySelectID).selectmenu('refresh', true);
What's wrong? Might it be because the refresh occurs before the select has finished populating?