Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.html2.WebView.RunScript.2.py
2018-02-13 17:13:44 -08:00

10 lines
265 B
Python

success, result = webview.RunScript(
"document.getElementById('some_id').innderHTML")
if success:
... result contains the contents of the given element ...
else:
... the element with self ID probably doesn't exist ...