jQuery.support (alias $.support) is an object of internal browser feature/bug test results that jQuery uses to pick cross-browser code paths (since jQuery 1.3). It is not a public feature-detection API for your apps.
Syntax
Start with these common calls. Keep them short and readable.
jQuery
typeof jQuery.support // "object"
Object.keys(jQuery.support) // internal flag names (may change)
// ❌ Do not rely on this in app code:
if ($.support.someFlag) { … }
// ✅ Detect what you need instead:
CSS.supports("display", "flex")
typeof fetch === "function"
Call
What it does
Arguments
None — it is a property, not a method
Type
Object of internal flags
Audience
jQuery internals (not your app)
Load jQuery before your script (CDN or local file), then wrap DOM work in $(function () { ... }) when needed.
Parameters
Parameter
Description
Step 1
Load jQuery in the browser ($.support needs a DOM).
Step 2
Inspect with Object.keys($.support) if you are reading legacy code.
Step 3
Treat every property as unstable — it may be a boolean or a lazy function (1.11+).
Return Value
Return Value
Description
Boolean
Often true or false depending on the match or state.
Value / undefined
Getters usually return a value from the first matched element, or undefined when nothing applies.
jQuery Examples
Example 1 — List Support Property Names
See which internal keys exist in the current jQuery build.
(length or incomplete JSON — functions omitted)
["cors", …]
How It Works
Official note. Since 1.11/1.12, $.support is not reliably JSON-serializable.
Functions dropped.JSON.stringify skips function properties.
Keys snapshot. Logging Object.keys($.support) is safer for debugging.
Frequently Asked Questions
jQuery.support is an object on the global jQuery namespace that caches results of internal browser capability tests. jQuery uses these flags to pick cross-browser code paths for DOM, CSS, and events. It was added in jQuery 1.3.
Yes. jQuery.support was deprecated in jQuery 1.9. The official docs state it is intended for jQuery's internal use only. Application code should not depend on its properties — they may be removed without notice to improve startup performance.
No — jQuery explicitly recommends against it. Use a dedicated library such as Modernizr, or native checks like CSS.supports(), 'fetch' in window, or element.canPlayType(). Those APIs are stable public contracts; jQuery.support properties are not.
Since jQuery 1.11 or 1.12, some support properties are lazy functions that run a test when called, not plain booleans. That deferred testing speeds page load. JSON.stringify cannot serialize functions, so logging the whole object to JSON fails or omits entries.
Yes — a trimmed set of internal flags remains in jQuery 3.7.x for jQuery's own modules. The object is still reachable as jQuery.support or $.support, but it is not a supported public API for developers.
Both were early jQuery browser-detection helpers. jQuery.browser (from navigator.userAgent) was removed in 1.9. jQuery.support tests features and bugs instead of parsing user-agent strings, but it was also deprecated in 1.9 for external use.