spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column6


A Final Word

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

By using defensive scripting techniques, including object detection, you can ensure that your scripts don't crash or generate errors. Add error-handling mechanisms to create bulletproof scripts. When implementing these techniques, you are likely to receive less feedback from your users, because they won't need to report your annoying JavaScript errors. In this column you learned:

  1. How to determine which browser the user is running.
  2. How to find out if a specific object exists.
  3. How to find out if a specific method exists.
  4. How to ignore errors when they occur.
  5. How to cut & paste common object detection routines.

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

Created: November 4, 1997
Revised: December 4, 1997
URL: http://www.webreference.com/js/column6/final.html