Easy Tutorial
❮ Eff Dequeue Misc Trim ❯

jQuery Miscellaneous get() Method

jQuery Miscellaneous Methods

Example

Retrieve the name and value of the first <p> element:


Definition and Usage

The get() method retrieves the DOM elements specified by the selector.


Syntax

Parameter Description
index Optional. Specifies which matched element to retrieve (by index number).

jQuery Miscellaneous Methods

❮ Eff Dequeue Misc Trim ❯