jquery.mobile-1.1.0.min.js バージョンで jquery モバイル アプリケーションを作成しました。ページには 3 つの選択メニューがあり、それぞれ新しいウィンドウで開きますdata-native-menu="false"
。
$(document).bind('mobileinit',function(){
$.mobile.selectmenu.prototype.options.nativeMenu = false;
});
選択メニューを作成するために使用しているコードは次のとおりです。
<div data-role="fieldcontain" style="white-space: normal;">
@Html.DropDownList("a", (IEnumerable<SelectListItem>)ViewData["b"], "c",new Dictionary<string, object>{{"id", "a"},{"data-shadow","false"},{"data-iconshadow","false"},{"data-native-menu","false"},{"data-theme","a"}})
</div>
このドロップダウン メニューは、iPad で 2 ~ 3 回タップすると反応します。
これに対する可能な解決策を提案してください。