QWebFrame::evaluateJavaScript vs. script-tag in HTML

Posted by jwg on Stack Overflow See other posts from Stack Overflow or by jwg
Published on 2010-05-16T18:03:33Z Indexed on 2010/05/16 18:10 UTC
Read the original article Hit count: 273

Filed under:
|
|

Hi,

I want to develop an application that uses QtWebKit and JQuery.

What I need to know is, is there any difference between reading JQuery from a file and evaluateJavaScript it, or embedding it as a script tag within the "page" that is displayed within the widget?

If there is a difference, I am curious if anyone could explain why it would be. As far as I understood it, evaluateJavaScript() would feed the script parameter to the JavaScript interpreter, which interprets it in the current page's context.

Thanks.

© Stack Overflow or respective owner

Related posts about qtwebkit

Related posts about qt