各位高手.
我的环境是vs2008\c#,DB是SQL2000.我在WEB控件BUTTON的CLICK事件中写入Response.Write("<script language=javascrip> alert('hello');</script>");时总是执行不了,请教了身边的高手也不知道是什么原因。请各位帮忙。
我的环境是vs2008\c#,DB是SQL2000.我在WEB控件BUTTON的CLICK事件中写入Response.Write("<script language=javascrip> alert('hello');</script>");时总是执行不了,请教了身边的高手也不知道是什么原因。请各位帮忙。
javascrip=== javascript
就行
我一般这么写
我一般这么写
Response.Write(" <script> window.alert('hello'); </script>");
但也不行,很奇怪的.我在我自己的私人电脑中是可以的.但就是在工作的电脑上就不行.
Response.Write("<script>alert('HELLO');</script>");