关于imageButton事件中怎样设置target=_blank
imageButton我编写了个事件,response.redirect("a.aspx")但是我想在新窗口中打开,imageButton如何设置target=_blank
2007-04-25 21:51
1、response.write("<script language='javascript'>window.open('index.html');</script>");
2、在page.load中:
imagebutton.attributes.add("onclick","javascript:return showopen();");
在html页:
<script language="javascript">
<!--
function showopen()
{
window.location("index.html");

2007-04-26 13:42
2007-04-28 14:48
2007-04-29 09:47
2007-04-29 21:26
2007-05-03 09:48
2007-05-03 14:03
2007-05-03 14:53
2007-05-04 15:40
2007-05-08 14:31