window.location.href =“ GetRepAccServlet?UsrSes =” + UsrSession +“&UsrId =” + UsrIdName;

问题描述 投票:0回答:1

window.location.href =“ GetRepAccServlet?UsrSes =” + UsrSession +“&UsrId =” + UsrIdName;

我需要打开单独的窗口。如何通过target =“ _ blank”帮帮我

javascript servlets
1个回答
0
投票

您需要使用window.open代替window.location.href打开新页面>

© www.soinside.com 2019 - 2024. All rights reserved.