jQuery jQuery.support ပိုင်ဆိုင်မှု
ဥပမာ
ဘရောက်ဆာသည် XMLHttpRequest အရာဝတ္ထုကို ဖန်တီးနိုင်သလား စမ်းသပ်ပါ။
$(document).ready(function(){
$("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
jQuery.support ပိုင်ဆိုင်မှုတွင် မတူညီသောဘရောက်ဆာအင်္ဂါရပ်များ သို့မဟုတ် ချို့ယွင်းချက်များကို ကိုယ်စားပြုသည့် ဂုဏ်သတ္တိများစုစည်းမှုပါရှိသည်။
ဤပိုင်ဆိုင်မှုသည် jQuerys အတွင်းပိုင်းအသုံးပြုမှုအတွက် အဓိကရည်ရွယ်ပါသည်။
အထားအသို
jQuery.support.propvalue
Parameter | Description |
---|---|
propvalue | Required. Specifies the function to test for. The tests included are:
|