Home >Web Front-end >JS Tutorial >Window.open is not intercepted implementation code_jquery

Window.open is not intercepted implementation code_jquery

WBOY
WBOYOriginal
2016-05-16 17:50:341060browse
Copy code The code is as follows:

$("#last").click(function(){
var w=window.open();
setTimeout(function(){
w.location="http://www.baidu.com";
}, 1000);

return false;
});
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn