QWebFrame::evaluateJavaScript vs. script-tag in HTML
- by jwg
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.