How does evaluateJavaScript works?



  • How does evaluateJavaScript works?
    Why I'm calling
    @webView->page()->mainFrame()->documentElement().findFirst("body").findFirst("script[class=first]").evaluateJavaScript("_getitall('testtesttest')");@
    and it's ruins all DOM?
    This function must return string.
    I need to put returned string instead of <scrip_t>_getitall('testtesttest');</scr_ipt>


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.