jQuery Properties

About This Index
This page is the jQuery Properties index for the tutorial track. Each row links to a full guide with syntax, examples, and FAQs.
Learn the jQuery overview on /jquery. Use this page when you need a collection property such as .length, .jquery, or .context.
Start with .length, then .jquery—read .context and .selector only when maintaining pre–jQuery 3 code.
How to Read a Property
Access properties without parentheses — they are fields, not methods:
var $items = $("li");
$items.length; // how many matched
$items.jquery; // e.g. "3.7.1"
$.fn.jquery; // same version via the prototype
if ($items.length) {
$items.first().addClass("ok");
}
// Removed in jQuery 3.0 — do not rely on these in new code:
// $items.context
// $items.selector jQuery Properties Table
All Properties guides in this jQuery tutorial series (4 tutorials).
Current Properties
2 methodsRead-only fields still available on modern jQuery collections.
Legacy Properties
2 methodsRemoved in jQuery 3.0 — keep for migration notes and older codebases.
Frequently Asked Questions
Start with .length
Open the length guide—syntax, examples, and FAQs.
CODETOFUN NEWS
Stay Ahead in Tech
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
16 people found this page helpful
