我正在尝试将gecko网页jquerify为ExecuteJQuery,但我面临错误说:ReferenceError:$未定义StackTrace:@:1:1不知道我该怎么做才能解决这个问题
GeckoScriptElement scriptJQuery = geckoWebBrowser.Document.CreateElement("script") as GeckoScriptElement;
scriptJQuery.Type = "text/javascript";
scriptJQuery.SetAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js");
scriptJQuery.Src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js";
geckoWebBrowser.Document.Head.AppendChild(scriptJQuery);
geckoWebBrowser.ExecuteJQuery("$('[name=\"message\"]').text('Something goes here');");