1
HtmlDocument htmlDoc = HtmlPage.Document;
HtmlElement htmlEl;

htmlEl = htmlDoc.GetElementById("UserText");
htmlEl.SetAttribute("scrollHeight", "400");

给了我例外SetAttribute Operation failed

对此有任何想法或解决方法吗?

4

0 回答 0