How to find a DOM element in Qt using javascript
Qt WebKit
2
Posts
2
Posters
1.3k
Views
2
Watching
-
wrote on 14 Jun 2015, 17:59 last edited by
Hi,
To find a HTML DOM object using javascript we will say something like
obj = document.getElementById("someId")
I want to know if we can find the objects similary like this using javascript in Qt.Thanks in Advance.
-
Hi,
To find a HTML DOM object using javascript we will say something like
obj = document.getElementById("someId")
I want to know if we can find the objects similary like this using javascript in Qt.Thanks in Advance.
Hi @keya,
Yes it can be done. If you are usingQWebView
it can be done by usingevaluateJavaScript
for both QWebframe and QWebElement.
2/2