Reputation: 53
Please help me to getElementById using VB.NET
Dim document = CType(WebControl1.ExecuteJavascriptWithResult("document"), Awesomium.Core.JSObject)
Dim myele = document.getElementById("ask-question-link")
I have used this code but it says, getElementById is not a member of Awesomium.Core.JSObject Please help me
PS: Im trying for VB.NET code Its working well for C#
Here is the C# code working
dynamic document = (Awesomium.Core.JSObject)webControl1.ExecuteJavascriptWithResult("document");
var myele = document.getElementById("ask-question-link");
Upvotes: 0
Views: 1885
Reputation: 51
Dim Question As String = WebControl1.ExecuteJavascriptWithResult("document.getElementById('ask-question-link')")
Upvotes: 2