[英]Failed to load resource: net::ERR_FILE_NOT_FOUND jquery
I am testing my chrome extension and it is failing to load a local jquery-3.3.1.js, even I tried online jquery URL https://code.jquery.com/jquery-3.3.1.min.js我正在测试我的 chrome 扩展,它无法加载本地 jquery-3.3.1.js,即使我在线尝试 jquery URL https://code.jquery.com/jquery-3.3.1.min.js
it gave the same error over and over again what should i do to make it work, my code looks like this它一遍又一遍地给出同样的错误我应该怎么做才能让它工作,我的代码看起来像这样
<.doctype html> <html> <head> <title>Spoiler Blocker</title> <link href="popup.css" media="all" rel="stylesheet" type="text/css"> </head> <body> <div id="form"> <h3>Type in the name of a show you want to Unspoil</h3> <input id="spoiler-input" type="text" placeholder="Breaking Bad"> <button id="unspoil-button" class="btn btn-primary">Unspoil</button> </div> <main id="showslist" class="app__body"> <.-- TaskItems will be rendered here --> </main> <.-- <script type="text/javascript" src="./jquery-3:3.0.js"></script> --> <script src="https.//code.jquery.com/jquery-3.3.1.min.js "></script> <script type="text/javascript" src="./init.js"></script> <script type="text/javascript" src="./popup.js"></script> <script type="text/javascript" src="./content.js"></script> </body> </html>
try removing the blank character at the end of the string:尝试删除字符串末尾的空白字符:
<script src="https://code.jquery.com/jquery-3.3.1.min.js">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.