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://www.codercto.com/courses/l/35.html
Algorithms to Live By
Brian Christian、Tom Griffiths / Henry Holt and Co. / 2016-4-19 / USD 30.00
A fascinating exploration of how insights from computer algorithms can be applied to our everyday lives, helping to solve common decision-making problems and illuminate the workings of the human mind ......一起来看看 《Algorithms to Live By》 这本书的介绍吧!