Hi
When I use beta 2 my select menus work like a charm, as they did with several previous versions.
When I use the latest nightly, they stay blanc and show no data.
When loading the page, document ready calls this code to refresh the select menus that get their data (in this case "aArtGruppe") from the show function:
- function refreshArtGruppe(aArtGruppe)
- {
- $("select#aArtGruppe").selectmenu();
- $("select#aArtGruppe").empty();
- var startoption = "<option value='" + aArtGruppe + "'>" + aArtGruppe + "</option>";
- $("select#aArtGruppe").append(startoption);
- $("select#aArtGruppe").val(aArtGruppe);
- $("select#aArtGruppe").selectmenu("refresh");
I've tried using create instead of refresh. But the code works well in beta 2 plus I am refreshing widgets that were there before (they are in the template), so I believe refresh is the right method.
Thanks for Help!Alex