jQuery jQuery.support Property
Example
Test whether the browser can create an XMLHttpRequest object:
$(document).ready(function(){
$("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});
Try it Yourself »
Definition and Usage
The jQuery.support property contains a collection of properties representing different browser features or bugs.
This property was primarily intended for jQuery’s internal use.
Syntax
jQuery.support.propvalue
Parameter | Description |
---|---|
propvalue | Required. Specifies the function to test for. The tests included are:
|