【待续】【JqueryMobile】Questions And Answers

1. How to add items and refresh the select menu in JQuery mobile ?

To add items dynamically, you must first append the select options to the actual select box like you were trying. But then additionally you must run a refresh on the widget as well. 
For example I have done:
$("#selectbox").html(optionList).selectmenu('refresh', true);
原文地址:https://www.cnblogs.com/taoqianbao/p/2254091.html