简体   繁体   English

Click事件在jquery mobile中无法正常运行

[英]Click event is not working smoothly in jquery mobile

我正在使用jquery移动应用程序,为此我使用了许多页面。我移到下一页并返回到某些页面,然后单击无法正常工作,因为我第一次进入同一页面时单击事件运行顺利。因此请帮助我。

I am not very sure if this works.May be this is happening due to rough page transitions. 我不太确定这是否可行,可能是由于页面过渡粗糙导致的。 Try turning off all the page transitions of jquery mobile.As it is not very smooth with page transition. 尝试关闭jquery mobile的所有页面转换。因为页面转换不太顺利。 Add this attribute to your anchor tags where you need to navigate. 将此属性添加到需要导航的锚标记中。 page-transition="none"

Also try the backface-visibility:none; 也可以尝试backface-visibility:none; in css.as given in this link 在此链接中给出的css。

Update: Disabling the ajax may help. 更新:禁用ajax可能会有所帮助。 Add data-ajax="false" to your the <div> of page. data-ajax="false"到页面的<div>中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM