THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery jQuery.support Property

❮ jQuery Properties

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 jQuerys internal use.


Syntax

jQuery.support.propvalue

Parameter Description
propvalue Required. Specifies the function to test for. The tests included are:
  • ajax
  • boxModel
  • changeBubbles
  • checkClone
  • checkOn
  • cors
  • cssFloat
  • hrefNormalized
  • htmlSerialize
  • leadingWhitespace
  • noCloneChecked
  • noCloneEvent
  • opacity
  • optDisabled
  • optSelected
  • scriptEval()
  • style
  • submitBubbles
  • tbody

❮ jQuery Properties