关于在asp.net 中调用js 中的函数问题:js 中写了一个简单的函数
function hello() 
    { alert("hello ! overred")
    }然后在aspx.cs 中用以下代码调用
 Response.Write("<script language=javascript>hello()</script>");
为何提示缺少对象。错在哪儿?
而我用Button1.Attributes.Add("onClick", "return hello();");  能成功调用。