February 2010
Beginner
400 pages
11h 13m
English
Browser detection is notoriously unreliable, but jQuery provides a number of methods to assist you with detecting the capabilities of your visitors' browsers. For example, the following code will return true or false depending on whether the browser supports the box rendering model:
alert($.support.boxModel);
For the full list of functionality you can query, please see http://docs.jquery.com/Utilities/jQuery.support.