" + i + ""> " + i + "" />
Easy Tutorial
❮ Jquery Ajax Intro Misc Callbacks Lock ❯

jQuery.browser Property

jQuery Miscellaneous Methods

Example

Display browser information:

$(function () { 
    $.each( $.browser, function( i, val ) {
        $( "<div>" + i + " : <span>" + val + "</span>" )
        .appendTo( document.body );
    });
})

Definition and Usage

$.browser Property


Syntax

Parameter Description
webkit Boolean type indicating if the browser is using the WebKit engine.
safari Boolean type indicating if the browser is Apple Safari.
opera Boolean type indicating if the browser is Opera.
msie Boolean type indicating if the browser is Microsoft Internet Explorer.
mozilla Boolean type indicating if the browser is Mozilla Firefox.
chrome Boolean type indicating if the browser is Google Chrome.
version String type indicating the current browser version, e.g., "6.0", "7.0".

More Examples

Using Internet Explorer

Using WebKit-based Browser

Browser Version

Internet Explorer Version


jQuery Miscellaneous Methods

❮ Jquery Ajax Intro Misc Callbacks Lock ❯