jQuery

Instance?; performance?; support de la fondation?;

jquery jQuery.support Propriété syntaxe

R?le?:?l'attribut jQuery.support contient un ensemble d'attributs qui représentent différentes fonctionnalités ou vulnérabilités du navigateur. Cette propriété est principalement utilisée en interne par jQuery.

Syntaxe?: jQuery.support.propvalue

Opération?: propvalue Obligatoire. Spécifie la fonctionnalité à tester. Ces tests incluent?: ajax boxModel changeBubbles checkClone checkOn cors cssFloat hrefNormalized htmlSerialize leaderWhitespace noCloneChecked noCloneEvent opacity optDisabled optSelected scriptEval() style submitBubbles tbody

jquery jQuery.support Propriété exemple

<!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>
Exécuter l'instance ?

Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne