This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 15, 2007 6:10 PM by Vladimir Ikryanov  
tobi   5 posts since
Jan 26, 2007
Currently Being Moderated

Jun 15, 2007 5:17 PM

Prevent javascript error dialogs?

Hi guys,

 

When I load a webpage with contains of JavaScript errors JExplorer show an error dialog "An error has occured in the script on this page.....Do you want to continue running scriopts on this page?".

 

Would it be possible to prevent such dialogs ("silent mode"?) or automatically confirm these dialog?

 

Thanks,

Tobi

UsabilityAgent

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
1. Jun 15, 2007 6:10 PM in response to: tobi
Re: Prevent javascript error dialogs?

Hello Tobi,

 

Yes, it is possible. You need just to call the Browser.setSilent(true) method and all error dialogs will be prevented.

 

Regards,

Vladimir

More Like This

  • Retrieving data ...