How can I inject jQuery and execute a function inside an EmbeddedWB control and get it's result.
Asked
Active
Viewed 793 times
1 Answers
1
You can use the IHtmlDocument2 interface of the document loaded into the browser to get at and manipulate its DOM.
See http://www.delphidabbler.com/articles?article=21, which includes how to get a return value from the script.

MartynA
- 30,454
- 4
- 32
- 73
-
1What about `TEmbeddedWB.ExecScriptEx` method ? – TLama Aug 11 '13 at 07:24
-
"What about TEmbeddedWB.ExecScriptEx?" Sure but maybe the old canard about the hungry man and fish versus fishing line is relevant. – MartynA Aug 12 '13 at 20:42