<input   type= "button"   name= "query "   id= "query "   value= "query "     onclick= "javascript:window.location.href= 'xxxxx.jsp' "/>怎么才能点击这个 button ,新开一个页面呢? button 中没有 target="_blank" 这个

解决方案 »

  1.   

    window.open( [sURL] [, sName] [, sFeatures] [, bReplace])
      

  2.   

    支持以上几楼
    就是这样
    <input  type= "button"  name= "query "  id= "query "  value= "query "    onclick= "javascript:window.open= 'xxxxx.jsp' "/> 
      

  3.   

    在button按钮中有个onClick事件
    例如onClick="buttonMehthod()"
    function buttonMehthod(){
    window.open( "页面名称","","");}
      

  4.   

    在button按钮中有个onClick事件
    例如onClick="buttonMehthod()"
    function buttonMehthod(){
    window.open( "页面名称","","");}
      

  5.   

    window.showModalDialog(‘页面’, window,"dialogWidth:700px;dialogHeight:480px;scroll:no;status:1;help:no;resizable:no;");或者
    function buttonMehthod() { 
    window.open( "页面名称","",""); }两者应该都可以的!!