THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery jQuery.support Property

jQuery Properties 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 jQuery�s 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 jQuery Properties