jQuery API

Properties of jQuery Object Instances


Each jQuery object created with the jQuery() function contains a number of properties alongside its methods. These properties allow us to inspect various attributes of the object.

  • .context

    The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.

  • .length

    The number of elements in the jQuery object.

  • .selector

    A selector representing selector originally passed to jQuery().

Time to cache: 0.00051