spacer

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

home / experts / javascript / column6


Browser Compatibility

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

Unlike CGI scripts, JavaScript is interpreted by the client. There are currently many clients that support JavaScript, including Netscape Navigator 2.0x, Netscape Navigator 3.0x, Netscape Navigator 4.0x, Microsoft Internet Explorer 3.0x, and Microsoft Internet Explorer 4.0. So when you write a script and embed it in your site, you know it will be interpreted by different interpreters with unequal capabilities and features. Unlike server-side scripts which you have full control over their interpretation, client-side scripts are executed by the user's browser.

Each browser supports different JavaScript features, and also "features" its own bugs. Some bugs are platform-specific, while others are browser-specific. Some objects are supported by Navigator 3.0x, 4.0x, and Internet Explorer 4.0, but are not supported by Navigator 2.0x and Internet Explorer 3.0x. In this column we'll nail down these compatibility issues using several reliable techniques. You'll learn:

  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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

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