jQuery

Instance; event; performance; mobile; foundation

support

英[s??p?:t] Beauty [s??p?:rt]

vt. Support; support; help; maintain

n. Support; supporter; [mathematics] support; support

jquery jQuery.support Property syntax

Function:The jQuery.support attribute contains a set of attributes that represent different browser features or vulnerabilities. This property is primarily used internally by jQuery.

Syntax: jQuery.support.propvalue

Operation: propvalue Required. Specifies the functionality 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 jQuery.support Property example

<!DOCTYPE html>
<html>
<head>
<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js">
</script>
<script>
$(document).ready(function(){
  $("p").html("本瀏覽器能夠創(chuàng)建 XMLHttpRequest 對(duì)象: " + jQuery.support.ajax);
  });
</script>
</head>
<body>

<p></p>

</body>
</html>
Run instance ?

Click the "Run instance" button to view the online instance