Rank: Newbie Groups: Member
Joined: 5/10/2018 Posts: 3
|
i need to set the value of a text box, so i try to use the example code
EO.WebBrowser.DOM.Document doc = WebView1.GetDOMWindow().document; doc.getElementById("username").innerText = user_name;
but, the "innerText" its only get propertie
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, You need to use WebView.EvalScript to do that. See here for more details: https://www.essentialobjects.com/doc/webbrowser/advanced/js.aspxThanks!
|