Jquery mobile jQuery mobile 1.4.5不重新加载页面
我正在使用jQueryMobile 1.4.5和jQuery2.2.4。 然后我点击我已经停留的同一页面的菜单项,它不会重新加载。 所以我需要重新加载它 请帮忙Jquery mobile jQuery mobile 1.4.5不重新加载页面,jquery-mobile,Jquery Mobile,我正在使用jQueryMobile 1.4.5和jQuery2.2.4。 然后我点击我已经停留的同一页面的菜单项,它不会重新加载。 所以我需要重新加载它 请帮忙 <div data-role="panel" id="leftpanel" class="ui-panel ui-panel-position-left ui-panel-display-overlay ui-body-b ui-panel-animate ui-panel-closed" data-display="
<div data-role="panel" id="leftpanel" class="ui-panel ui-panel-position-left ui-panel-display-overlay ui-body-b ui-panel-animate ui-panel-closed"
data-display="overlay" data-rel="close" data-theme="@ViewBag.Theme">
<ul data-role="listview" data-theme="@ViewBag.Theme">
@*<li data-icon="delete"><a href="#" data-rel="close">Close</a></li>
<li data-role="list-divider">Menu</li>*@
<li>
<a href='@Url.Action("Index", "Home")' class="ui-link-inherit" style="padding-left:90px;">
<img src='@Url.Content("~/Images/menu-movies.png")' class="ui-li-thumb" alt="" />
<h2>PELICULAS</h2>
<p>Estrenos y toda la cartelera</p>
</a>
</li>
<li>
<a href='@Url.Action("Complexes", "Home")' class="ui-link-inherit" style="padding-left:90px;">
<img src='@Url.Content("~/Images/menu-complex.png")' class="ui-li-thumb" alt="" />
<h2>COMPLEJOS</h2>
<p>Peliculas, direcciones, telefonos</p>
</a>
</li>
</ul>
</div><!-- /panel -->
@*
- 菜单*@
-
-
我在这里找到了解决方案
它说我们必须使用jQuery移动事件而不是jQuery事件
就是这样!:) 从JQM主页:受支持的版本:JQM版本1.4.5=>jquery1.8-1.11/2。1@deblocker是的,我测试了从1.11.1到2.2.4的所有版本。没有问题。这是不是尾部斜杠或
rel=external
的问题@不,不是。我在Android WebView下使用此网站。在桌面互联网浏览器下,它工作正常,但在Android的WebView下,它不会重新加载页面。