如何将button按钮加上target类似的属性。。。
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write( " <Script Language= 'JavaScript '> window.open( 'page.html ', 'list ') </Script> ");
}
页面中iframe的name= "list "
这样写错在哪里,执行不能再iframe里打开,应该怎样改????
谢谢!!
------解决方案--------------------Page.RegisterStartupScript ( "s ", " <Script Language= 'JavaScript '> window.open( 'page.html ', 'list ') </Script> ");
试试
window.open( 'page.html ', 'list ')是对的