Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qml evaluatejavascript problem

$
0
0
Hello, I have Qml WebView and I’m trying to simulate a click event on a div. the div is: <div class=“ih” ><div class=“jh kh”></div></div>I have tried to simulate the click event in this way but it doesn’t work:    Button{             onClicked: webView.evaluate("document.getElementsByClassName('ih').click()")         }     Can someone help?

Viewing all articles
Browse latest Browse all 18427

Latest Images

Trending Articles



Latest Images