jQuery jQuery.support Property

Introduction

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

jQuery.support.propvalue
Parameter
Optional
Description
propvalue




















Required.




















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

View in separate window

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("p").html("XMLHttpRequest: " + jQuery.support.ajax);
});/*from   w  w  w .  j av  a 2  s . c o m*/
</script>
</head>
<body>

<p></p>

</body>
</html>



PreviousNext

Related