后台有一个函数为:
[WebMethod]
public static string SayHelloFromPage(string name)
{
     return string.Format("Hello {0}!", name);
}前台有js函数调用:
function btnInvoke_onclick(){
            var theName = document.getElementById("tbName").value; 
            PageMethods.SayHelloFromPage(theName,onSayHelloSucceeded);
        }
        
        function onSayHelloSucceeded(result){
            document.getElementById("result").innerHTML=result;
        }
为什么不成功呢