Hi,
I tried to emulate a click event on an <a> tag with
evaluateJavaScript(), but nothing happens...
First, I load the page with QWebPage::load, and after the loadFinished
signal, I search for the <a> tag with
mainFrame()->documentElement()->findFirst().
The resulting QWebElement is good, I can check it with the
toOuterXml() function.
But if I call the button.evaluateJavaScript("click()"), like i saw in
one of the examples
(http://doc.trolltech.com/latest/qwebelement.html), nothing happens.
If I create a QWebView, and attach the previous QWebPage to it, I can
see the content, and I can click on the link with the mouse...
Do you have any idea?
tr3w
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt