打开新窗口链接的几种办法

    技术2022-05-11  53

    转自:http://www.cnblogs.com/xiang/archive/2006/09/05/495828.html打开新窗口链接的几种办法 1.window.open('url') 2.用自定义函数          < script >          function  openWin(tag,obj)         {            obj.target="_blank";            obj.href = "Web/Substation/Substation.aspx?stationno="+tag;            obj.click();        }          </ script > <  href ="javascript:void(0)"  onclick ="openWin(3,this)" > 株洲 </ a > window.location.href="" 

    最新回复(0)