Welcome Guest Search | Active Topics | Sign In | Register

Embed JavaScript to EO.WebBrowser Options
Khoa
Posted: Wednesday, September 3, 2014 5:41:36 PM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
Hi,

I want to embed some JavaScript files (ie jQuery...) to EO.WebBrowser. Therefore, some JavaScript features will be built-in inside the browser without external loaded on page load. Please help me how to do that.

Thanks.
eo_support
Posted: Wednesday, September 3, 2014 5:49:34 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

You can this property to inject JavaScript code to WebView:

http://www.essentialobjects.com/doc/6/eo.webbrowser.webview.jsinitcode.aspx

The code you set with this property is evaluated in the root frame when the WebView establish a new document object before any script in that document is run.

Thanks!
Khoa
Posted: Thursday, September 4, 2014 10:12:49 AM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
Thank you. This is what I am looking for.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.