//更新select值,进行刷新
$("#province${sta.index}").selectmenu();
$("#province${sta.index}").selectmenu("refresh");
$("#province${sta.index}").selectmenu("refresh");
页面布局刷新的一些代码
$("#page1").find('div[data-role="fieldcontain"]').fieldcontain(); $("#page1").find('input[type="text"],textarea').textinput(); $("#page1").find('input[type="radio"],[input[type="checkbox"]').checkboxradio(); $(":jqmData(role='controlgroup')", $("#page1")).controlgroup({ excludeInvisible: false });
查到问题解决方案的一些网址
http://stackoverflow.com/questions/786142/how-to-retrieve-checkboxes-values-in-jquery http://stackoverflow.com/questions/7467909/knockoutjs-and-jquery-mobile-checkbox-doesnt-update-value http://api.jquery.com/val/ http://leotheme.cn/javascript/jquerytocheckbox.htm