Ok
The problem is that Select is created without options. In this case by default Select is created with an empty header and this header can't be refreshed with the method.
Ok
The problem is that Select is created without options. In this case by default Select is created with an empty header and this header can't be refreshed with the method.
ok, so how do i add options when i rebuild the select by JS?
It's a standard jqm behavior https://github.com/jquery/jquery-mobi...
You can change app logic (for example first create Select with options, but make it invisible).
Or on page Show event using JS delete header you don't need. For example:
pre$("#" + Appery("select_voice").attr("id") +"-listbox-popup").find("div.ui-header").remove();
$("#" + Appery("select_voice_female").attr("id") +"-listbox-popup").find("div.ui-header").remove();/pre