Propiedad jQuery jQuery.support
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:
|