jsp页面跳转后,css样式不生效,刷新页面后才出现样式_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:05:36
Original
3142 people have browsed it

rt,应用了jq的一些样式功能以后,进行页面跳转,新页面的css样式没有效果,必须刷新一次。何解?


回复讨论(解决方案)

js没运行?

样式文件缓存了的原因,传个变参吧

参数出错

js没运行?

刷新以后就生效了

样式文件缓存了的原因,传个变参吧

不是这个问题,我把A标记添加onclick方法以后,就可以了,不懂是什么原因,直接A标记跳转带参就不可以

参数出错

木有出错,在我把A标记跳转改成onclick触发JS方法跳转以后,就可以了。。。不明真相
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!