Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 10 Don';t缓存在ie10和ie11中_Internet Explorer 10_Internet Explorer 11_Browser Cache_Offline Caching - Fatal编程技术网

Internet explorer 10 Don';t缓存在ie10和ie11中

Internet explorer 10 Don';t缓存在ie10和ie11中,internet-explorer-10,internet-explorer-11,browser-cache,offline-caching,Internet Explorer 10,Internet Explorer 11,Browser Cache,Offline Caching,我有一个源代码使用清单。当我在chorme中运行代码时,它会工作。但当我在ie 10中运行AppCache时,出现了致命错误。 代码html: <html manifest="demo.manifest"> <head> <meta charset="utf-8" /> <meta http-equiv="EXPIRES" content="0" /> <meta http-equiv="PRAGMA" content

我有一个源代码使用清单。当我在chorme中运行代码时,它会工作。但当我在ie 10中运行AppCache时,出现了致命错误。 代码html:

<html manifest="demo.manifest">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="EXPIRES" content="0" />
    <meta http-equiv="PRAGMA" content="NO-CACHE" />
</head>
<body>
    <script src="js/jquery.min.js"></script>
    <p id="timePara"><button onclick="getDateTime()">Get Date and Time</button></p>

    <p><img src="imgs/img_logo.gif" width="336" height="69"></p>

    <p>Try opening <a href="tryhtml5_html_manifest.htm" target="_blank">this page</a>, then go offline, and reload the page. The script and the image should still work.</p>

</body>
</html>

有人帮我。感谢您的支持。

您似乎没有将jquery声明为清单的一部分?@RowlandShaw请解释清楚。我不明白。你的HTML文件引用了js/jquery.min.js,但是你的清单引用了js/demo_time.js
CACHE MANIFEST
    js/demo_time.js
    imgs/img_logo.gif