2011年11月17日 星期四

jQueryMobile Reset Select Control

要在jQM內重設下拉選單,只要呼叫refresh即可。
$('#select').selectmenu('refresh');

參考:
http://jquerymobile.com/test/docs/forms/selects/methods.html

沒有留言:

張貼留言