jQuery
實(shí)例;事件;性能;移動(dòng);基礎(chǔ)
#support
英[s??p?:t]美[s??p?:rt]??
vt.支持;支撐;幫助;維持
n.支撐;支持者;[數(shù)學(xué)]支集;支撐物
jquery jQuery.support屬性 語法
作用:jQuery.support 屬性包含表示不同瀏覽器特性或漏洞的屬性集。此屬性主要用於 jQuery 的內(nèi)部使用。
語法:jQuery.support.propvalue
#作業(yè):propvalue? ? 必要。規(guī)定要測(cè)試的功能。這些測(cè)試包括:ajax? ?boxModel? ?changeBubbles? checkClone? checkOn? cors? cssFloat? hrefNormalized? htmlSerialize? leadingWhitespace? ?noCloneEventedmit noClone bbles? tbody
jquery jQuery.support屬性 範(fàn)例
<!DOCTYPE html> <html> <head> <script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").html("本瀏覽器能夠創(chuàng)建 XMLHttpRequest 對(duì)象: " + jQuery.support.ajax); }); </script> </head> <body> <p></p> </body> </html>
#點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例