請看看這個小提琴http://jsfiddle.net/GkfY7/jQuery Mobile的選擇刷新,樣式正在添加了錯誤的地方
可有人請向我解釋,爲什麼造型(和文本),而不是被可能刷新到DIV?
我覺得問題在刷新?
$('#survey [data-role="fieldcontain"]').fieldcontain();
$('#survey [data-role="fieldcontain"]').fieldcontain('refresh',true);
$('#survey [data-role="controlgroup"]').controlgroup();
$('#survey [data-role="controlgroup"]').controlgroup('refresh',true);
$('#survey').selectmenu();
$('#survey').selectmenu('refresh',true);
TIA,
丹尼爾
什麼造型你需要什麼? –
jQuery Mobile的樣式... 現在有一個選擇 - 實際上應該有兩個,它們在DOM中,但不是由jQuery Mobile設計。 –