<div class="codetitle"> <span><a style="CURSOR: pointer" data="58100" class="copybut" id="copybut58100" onclick="doCopy('code58100')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code58100"> <br>$("#last").click(function(){ <br>var w=window.open(); <br>setTimeout(function(){ <br>w.location="http://www.baidu.com"; <br>}, 1000); <br> <br>return false; <br>}); <br> </div>