@链接的几种办法
1.window.open(''url'')
2.用自定义函数
<script>
function openWin(tag,obj)
{
obj.target="_blank";
obj.href = "Web/Substation/Substation.aspx?stationno="+tag;
obj.click();
}
</script>
3.<a href="javascript:void(0)" onclick="openWin(3,this)">株洲</a>
4.window.location.href=""

posted on 2013-09-17 21:31  学到老死  阅读(138)  评论(0)    收藏  举报