WebView.Eval (gb.qt4.webkit)

Function Eval ( JavaScript As String ) As Variant

Evaluate any JavaScript expression in the context of the current frame, and return its value.

That grant you a full access to the Document Object Model.

If the return value is an array, a map, or a regular expression, then NULL is returned. That will be fixed in the future.

If the WebView is editable, then you can use the document.execCommand JavaScript method to modify the HTML page.

See the WebBrowser example for more details.

See also