开发者社区> 问答> 正文

使用jqm的跳转后,跳转到新的页面js无法使用,求高手进来看看

使用jqm的跳转后,跳转到新的页面js无法使用,而且css样式也没有效,刷新页面后就好了,我尝试改变跳转的data-ajax=false后,就没这个问题了,但是转场效果就没了,请问怎么解决这个问题呢,既有转场又不会出问题?有没有会的指点一下

展开
收起
a123456678 2016-07-06 15:04:43 1867 0
1 条回答
写回答
取消 提交回答
  • Links that point to other domains or that have rel="external", data-ajax="false" or target attributes will not be loaded with Ajax. Instead, these links will cause a full page refresh with no animated transition.

    设置data-ajax="false" 会刷新整个页面,也就没有专场效果了

    2019-07-17 19:52:09
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
JavaScript面向对象的程序设计 立即下载
Delivering Javascript to World 立即下载
编程语言如何演化-以JS的private为例 立即下载