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:
  • ajax
  • boxModel
  • changeBubbles
  • checkClone
  • checkOn
  • cors
  • cssFloat
  • hrefNormalized
  • htmlSerialize
  • leadingWhitespace
  • noCloneChecked
  • noCloneEvent
  • opacity
  • optDisabled
  • optSelected
  • scriptEval()
  • style
  • submitBubbles
  • tbody

❮ خصائص مسج