Propiedad jQuery jQuery.support

❮ Propiedades de jQuery

Ejemplo

Pruebe si el navegador puede crear un objeto XMLHttpRequest:

$(document).ready(function(){
  $("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});

Definición y uso

La propiedad jQuery.support contiene una colección de propiedades que representan diferentes características o errores del navegador.

Esta propiedad estaba pensada principalmente para uso interno de jQuerys.


Sintaxis

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

❮ Propiedades de jQuery