小白教程
所有教程
关于
Search
172.69.6.202
172.69.6.202
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Prop jquery support”的源代码
本页内容
上一节:
Prop_jquery_fx_off
下一节:
Prop_length
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:jQuery.support}}[[Category:jquery ref prop|5]] = jQuery jQuery.support 属性 = [[jquery ref prop|jQuery 属性]] 测试浏览器是否能创建 XMLHttpRequest 对象: <sample title="" desc="" lang="html" hererun="1"> $(document).ready(function(){ $("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax); }); </sample> <run name=""> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").html("这个浏览器可以创建 XMLHttpRequest 对象: " + jQuery.support.ajax); }); </script> </head> <body> <p></p> </body> </html> </run> == 定义和用法 == jQuery.support 属性包含表示不同浏览器特性或漏洞的属性集。 该属性主要用于 jQuery 的内部使用。 == Syntax == <pre> jQuery.support.propvalue</pre> {| class="table table-striped table-hover" !width="50%"| 参数 !width="50%"| 描述 |- | propvalue | 必需。规定要测试的功能。这些测试包括: * ajax * boxModel * changeBubbles * checkClone * checkOn * cors * cssFloat * hrefNormalized * htmlSerialize * leadingWhitespace * noCloneChecked * noCloneEvent * opacity * optDisabled * optSelected * scriptEval() * style * submitBubbles * tbody |} [[jquery ref prop|jQuery 属性]]
返回至“
Prop jquery support
”。
上一节:
Prop_jquery_fx_off
下一节:
Prop_length