Welcome Guest Search | Active Topics | Sign In | Register

Detect javascript erors Options
Minh Giang
Posted: Saturday, June 27, 2015 2:40:23 AM
Rank: Member
Groups: Member

Joined: 9/11/2014
Posts: 17
Hi eo_support!
I added javascript into page loaded by eo.webbrowser. In my javascript, I call jquery ajax function to insert data into database.
I want to detect if javascript has error to log erors into text file.
How can I do it?
eo_support
Posted: Monday, June 29, 2015 11:11:02 AM
Rank: Administration
Groups: Administration

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

You would handle this event:

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

The Severity property of the event argument is "Error" if it's JavaScript error.

Thanks!


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.