Tour

IssueTrak Blog


Stay informed. Stay entertained.

Blog Home

How to Deal with JavaScript Errors

By Julie Heiman
 
Have you ever clicked a button or link while browsing the internet and nothing happened?

Well, 9 times out of 10, when “nothing happens,” it’s most likely because the user has encountered a
JavaScript error. By default, today’s browsers will not show you JavaScript errors and that’s why we think “nothing happens”.


If you are just visiting a site, obviously you can't fix the error but you could notify the site webmaster and let them know of the error. Or if you are the webmaster/developer it's really helpful to know where those errors are so that they can be fixed. Exactly what happens depends on the browser and type of error, but in most cases some sort of error notification will be displayed.


There are different types of JavaScript errors:

·     Syntax Error: Occurs when there is a mistake in the way the code is written; for example, a typo or missing character. 
Runtime Error: Occurs when the script is unable to complete its instructions; for example, if a specified object cannot be found.

So, we need to configure our browsers to show JavaScript errors and report any that we find. To assist you in working out when an error has occurred, each of the different web browsers supplies an error message facility to tell you where the error occurred. For a popular web development tool that facilitates the debugging, editing, and monitoring of any website's CSS, HTML, DOM, XHR, and JavaScript, check out Firebug for your browser.

Firebug for Firefox 
Firebug Lite for Google Chrome 
Firebug Lite for other browsers 

 

Other Useful Links
Firebug and Errors 
Debugging Javascript with Firebug 
Fix JavaScript errors free – Simple methods to fix JavaScript errors 
How to troubleshoot script errors in Internet Explorer 

Comments

  Loading

Post New Comment
Your Name:
Email:
Your email is private and will not be shown publicly.
Comment:

  Loading

PRODUCT CUSTOMERS SUPPORT COMPANY TOUR
Sign-up for the newsletter
»
facebook issuetrak twitter issuetrak google plus issuetrak
linkedin issuetrak forum issuetrak
P. 866 477 8387
Copyright © 2012 IssueTrak, Inc.
All rights reserved.
Privacy Policy  |  Contact Us