WebBrowser control and javascript files
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Is it possible to link a javascript file to a WebBrowser control's document? For example, if I have a library, whose main js driver file is called myLib.js, is it possible to link to the library from a document loaded in the WebBrowser control? I have tried something like:
webBrowser.DocumentText = "" + "" + "" + "Call test func" + "";
where testFunc(...) is a function in my javascript library, but it does not work. Thanks in advance,----------------- Picazo