window.location.href跳转新窗口

window.location.href跳转新窗口

例如:

window.location.href="http://cwhois.cnnic.cn/validatecode/validate.jsp?value="+strName+"&entity=domain&service=/whois&inputfield=value";

 

改成:

window.open("http://cwhois.cnnic.cn/validatecode/validate.jsp?value="+strName+"&entity=domain&service=/whois&inputfield=value);
 
window.open("searchs.action?sort="+rest+"&area="+DemoVal);
 

你可能感兴趣的:(window.location.href跳转新窗口)