<a href="#" onclick="if(confirm('open it?')) window.open('about:blank','new_win')">TRY ME!</a>

解决方案 »

  1.   

    <a href="#" onclick="doClick()">link</a>function doClick(){
      if(confirm("要打开新窗口吗?")){
        window.open("xxx.htm","");
      }
    }
      

  2.   

    <a href="" onclick="if(confirm('Confirm to Hyper ?') == '0'){ window.open('http://33990521.go.nease.net'); return true; }else{return false}">33990521 ERP教學網<a>
      

  3.   

    window.open 全被网络助手拦截, 且上面三位兄弟的代码实现起来都有点麻烦呀.<a href=ab.htm onclick="return confirm('Are you sure?')">简单就一句话</a>
      

  4.   

    <a href="" onclick="if(confirm('Confirm to Hyper ?') == '0'){ window.location = 'http://33990521.go.nease.net'; return true; }else{return false}">33990521 ERP教學網<a>
      

  5.   

    <a href='http://33990521.go.nease.net'
     onclick="return confirm('Confirm to Hyper ?')">33990521 ERP教學網</a>流星雨, 你说谁的代码简单些呀?
      

  6.   

    meizz(梅花雪) 的代码简单爱!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    怎么你的信誉这么高,MM or GG?