javascript-php页面js css刷新才加载,如何解决?

WBOY
Release: 2016-06-02 11:29:10
Original
874 people have browsed it

phpjavascriptjquerycss

这是A页面

<code>    <title>选择类别</title>    <meta name="viewport" content="width=device-width, initial-scale=1">      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">     <link rel="stylesheet" href="index.css">    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>    <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>    <script src="index.js"></script>    <a href="Calorie.php?type=1" data-ajax="“false”"><img  src="img/type1.png" alt="javascript-php页面js css刷新才加载,如何解决?" ></a>    <a href="Calorie.php?type=2" data-ajax="“false”"><img  src="img/type2.png" alt="javascript-php页面js css刷新才加载,如何解决?" ></a>    <a href="Calorie.php?type=3" data-ajax="“false”"><img  src="img/type3.png" alt="javascript-php页面js css刷新才加载,如何解决?" ></a>    </code>
Copy after login

跳转到Calorie.php后js和css都没有加载
用chrome调试后发现加载的是前一个页面的head,如下图
图片说明
实际页面的head如下图
图片说明

刷新后才加载。求解决啊

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!