function showCert(){
var oCert = document.createElement("p");
oCert.style.height = 700+'px';
oCert.style.width = 490+'px';
oCert.style.z-index = 2222;
var oImg = document.createElement("img");
oImg.src = "${resourceRoot }/web/ybb/assets/img/main/about2.png";
oCert.appendChild(oImg);
document.body.appendChild(oCert);
}
报错Uncaught ReferenceError: Invalid left-hand side in assignment
index:923 Uncaught ReferenceError: $JssorEasing$ is not defined(anonymous function) @ index:923
7index:265 Uncaught ReferenceError: showCert is not defined
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
这句问题
报错的,只有最后一个是报了showCert未定义,那就是其它的地方调用的时候引起的错误