js打开新页面的几种方式
详情描述
- window.location.href=goUrl;
- window.open(goUrl,”_self”);
- location.replace(goUrl);
- location.assign(goUrl);
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/198585.html原文链接:https://javaforall.net
js打开新页面的几种方式js 打开新页面的几种方式详情描述 window location href goUrl window open goUrl self location replace goUrl location assign goUrl
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/198585.html原文链接:https://javaforall.net