Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery jQuery.support Property

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 »


Definition and Usage

The jQuery.support property contains a collection of properties representing various browser features or bugs.

This property is mainly used internally by jQuery.


Syntax

jQuery.support.

propvalue

Parameters Description
propvalue Required. Specifies the feature to be tested. These tests include:
  • ajax
  • boxModel
  • changeBubbles
  • checkClone
  • checkOn
  • cors
  • cssFloat
  • hrefNormalized
  • htmlSerialize
  • leadingWhitespace
  • noCloneChecked
  • noCloneEvent
  • opacity
  • optDisabled
  • optSelected
  • scriptEval()
  • style
  • submitBubbles
  • tbody
  • |

    jQuery Properties jQuery Properties