Questions tagged [jquery.support]

A collection of properties that represent the presence of different browser features or bugs. Intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance.

For your own project's feature-detection needs, we strongly recommend the use of an external library such as Modernizr instead of dependency on properties in jQuery.support.

6 questions
11
votes
2 answers

Detecting support for specific HTML 5 features via jQuery

I'm working on some HTML5 demo code, including stuff like This currently works correctly in Opera 10 as-is, but every other browser just displays a normal text input. I'm then using a jQuery.date-input plugin to override this…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
6
votes
7 answers

How to detect IE7 and lower using jQuery.support?

Currently I'm using jQuery.browser to detect IE7 and lower if ($.browser.msie && parseInt($.browser.version) <= 7) { //codes } but jQuery.browser was deprecated in jQuery 1.3 and removed in jQuery 1.9, I read from jQuery website that we should…
icaru12
  • 1,522
  • 16
  • 21
2
votes
1 answer

Alternative for jQuery.support.cors

I am updating a JavaScript file that uses jQuery.support.cors, which is now deprecated; What should I use instead? The application operates in an