ASP.net中怎么弹出javascript窗口?
											点击按钮后弹出alert("xxx"),在按钮的事件里面要怎么写?
点击按钮后弹出alert("xxx"),在按钮的事件里面要怎么写?
 2006-11-15 13:57
	    2006-11-15 13:57
  
 2006-11-15 14:24
	    2006-11-15 14:24
  先放个lable之类的,在写上
lable1.Text = "<script>alert('xxxxx');</script>";
或者 Response.Write("<script>alert('xxxxx');</script>";);
不过这种没有上面那种好。

 2006-11-15 20:06
	    2006-11-15 20:06
  button1.Attribute.Add("onclick","alert('欢迎光临我的网站:http://kx91.com')");
 2006-11-16 02:26
	    2006-11-16 02:26
  
 2006-12-09 00:47
	    2006-12-09 00:47
  
 2006-12-09 01:01
	    2006-12-09 01:01