jQuery.browser     ** REMOVED 1.9 ** JQ Home  <<  Utilities  <<  jQuery.browser

User agent detection.

Description

The jQuery.browser() jQuery global object property, contains flag information for the user agent extracted from navigator.userAgent.

Shorthand version $.browser()

  • From jQuery version 1.3 onwards, use the jQuery.support property, which contains a collection of properties representing the presence of different browser features or bugs; useful for feature detection.

This method was deprecated in jQuery 1.3 and removed in jQuery 1.9 so we are just showing it for completeness.

Syntax

Signature Description
jQuery.browserContains flag information for the user agent extracted from navigator.userAgent.
jQuery.browser.version The rendering engine version number of the user's browser.

Parameters

None.

Return

A Boolean object.


Related Tutorials

jQuery Intermediate Tutorials - Lesson 9 - jQuery General Utilities