jQuery jQuery.support Attribute
Example
Test if the browser can create XMLHttpRequest object:
$.ready(function(){ $("p").html("This browser can create XMLHttpRequest object: ") + jQuery.support.ajax); });
Definition and Usage
The jQuery.support property includes a set of properties representing different browser features or vulnerabilities.
This property is mainly used for internal use by jQuery.
Syntax
jQuery.support.propvalue
Attribute | Description |
---|---|
propvalue |
Required. Specifies the functionality to be tested. These tests include:
|