1 回答

pardon110
TA贡献1038条经验 获得超227个赞
语法
let windowObjectReference= window.open(strUrl,strWindowName, [strWindowFeatures]);
strUrl ===要在新打开的窗口中加载的URL。
strWindowName ===新窗口的名称。
strWindowFeatures ===一个可选参数,列出新窗口的特征(大小,位置,滚动条等)作为一个DOMString。
添加回答
举报
0/150
提交
取消