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:
|