执行document.querySelector("#APjFqb").placeholder="DOM的属性修改断点操作";后
提示:Uncaught SyntaxError: Invalid or unexpected token
提示:Uncaught SyntaxError: Invalid or unexpected token
2024-04-12
课程中引入jQuery的代码,我帮大家准备好了
let script = document.createElement('script');
script.src="https://code.jquery.com/jquery-3.2.1.min.js";
script.integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=";
script.crossorigin="anonymous";
document.head.appendChild(script);
let script = document.createElement('script');
script.src="https://code.jquery.com/jquery-3.2.1.min.js";
script.integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=";
script.crossorigin="anonymous";
document.head.appendChild(script);
2022-11-07
最赞回答 / 精慕门5330565
<...code...>我尝试了一下,去掉integrity和crossorigin属性,就不再报CORS了...如下:<...code...>
2022-11-07
我编辑js文件,保存后不生效,据说是之前的chrome版本支持,现在的不支持了?我的是102版本
2022-06-05