且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

新标签页不起作用

更新时间:2023-12-04 14:01:58

先生,请尝试下面的代码可能对您有所帮助

sir try the bellow code may help you

window.open(skey, "_blank", "toolbar=1, scrollbars=1, resizable=1, width=" + 1015 + ", height=" + 800);


它告诉您无法找到
openWin()

函数.考虑:
1. JS区分大小写,例如openWin()与openwin()不同.
2.如果该功能在外部文件中,请正确导入它. HTML脚本src属性 [使用JS打开新窗口 [

function. Considering:
1. JS is case sensitive, e.g. openWin() is not the same as openwin().
2. If that function is in an external file, have you imported it properly. HTML script src Attribute[^]
Check out the working example at Open New Window with JS[^]