Back

.get( [index] )

Return the actual element at a given index

If index is passed, return the one element at the specified index

If index is NOT passed, return a true Array of the selected elements

Params

index{Integer} [optional]Indicates the position of the element to return. Negative values count backwards from the end of the set.

Returns

Element or Array of Elements

Examples

$('p').get(3)
$('p').get(-1)
$('p').get()