Error in Java Script using latest version of Safari

Asked By 0 points N/A Posted on -
qa-featured

I have already cleared my cache history but I still get this error message saying that there is error in my java script. I am using the latest version of Safari . I get this error message and there is no option given on how to fix it or cancel it. The error message just stayed there on my Safari screen. How can I get rid of this message? Has anybody encountered the same problem? Please send me your suggestions.

SHARE
Answered By 25 points N/A #114088

Error in Java Script using latest version of Safari

qa-featured

Dear Martha Bernando

First, you need to know the error encountered by javascript and then try to solve. 
In safari, the debugging features are hidden by default. To enable debugging in safari; type this command while safari is
 not running in a terminal "% defaults write com.apple.Safari IncludeDebugMenu 1".
Open safari and now you will find a new develop menu appeared above. Click the develop menu, select "Show error console". 

This will show a debug window at the bottom of the browser and the java script error will occur. Now you can search the error and solve. Hope this may help you

Best of luck

Related Questions