jQuery jQuery.support Özellik

❮ jQuery Özellikleri

Örnek

Tarayıcının bir XMLHttpRequest nesnesi oluşturup oluşturamayacağını test edin:

$(document).ready(function(){
  $("p").html("This browser can create XMLHttpRequest object: " + jQuery.support.ajax);
});

Tanım ve Kullanım

jQuery.support özelliği, farklı tarayıcı özelliklerini veya hatalarını temsil eden bir özellikler koleksiyonu içerir.

Bu özellik, öncelikle jQuery'nin dahili kullanımı için tasarlanmıştır.


Sözdizimi

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

❮ jQuery Özellikleri