jQuery jQuery.support 属性
jQuery 教程
· 2019-03-30 07:57:19
实例
测试浏览器是否能创建 XMLHttpRequest 对象:
$(document).ready(function(){
$("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});
$("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});
定义和用法
jQuery.support 属性包含表示不同浏览器特性或漏洞的属性集。
该属性主要用于 jQuery 的内部使用。
Syntax
jQuery.support.propvalue
| 参数 | 描述 |
|---|---|
| propvalue | 必需。规定要测试的功能。这些测试包括:
|
点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html
Speed Up Your Site
Andrew B. King / New Riders Press / 2003-01-14 / USD 39.99
There's a time bomb on the web: user patience. It starts ticking each time someone opens one of your pages. You only have a few seconds to get compelling content onto the screen. Fail, and you can kis......一起来看看 《Speed Up Your Site》 这本书的介绍吧!