jQuery jQuery.support Atributo

Ejemplo

Prueba si el navegador puede crear el objeto XMLHttpRequest:

$.ready(function(){
  $("p").html("Este navegador puede crear el objeto XMLHttpRequest: ") + jQuery.support.ajax);
});

Prueba por ti mismo

Definición y uso

El atributo jQuery.support contiene un conjunto de propiedades que representan características o vulnerabilidades de diferentes navegadores.

Este atributo se utiliza principalmente para uso interno de jQuery.

Sintaxis

jQuery.support.propvalue
Atributo Descripción
propvalue

Requerido. Especifica la función a probar. Estas pruebas incluyen:

  • ajax
  • boxModel
  • changeBubbles
  • checkClone
  • checkOn
  • cors
  • cssFloat
  • hrefNormalized
  • htmlSerialize
  • leadingWhitespace
  • noCloneChecked
  • noCloneEvent
  • opacity
  • optDisabled
  • optSelected
  • scriptEval()
  • style
  • submitBubbles
  • tbody