$n

From FirebugWiki
Revision as of 02:59, 5 July 2012 by Sebastianz (Talk | contribs) (Added description of syntax and linked back to Command Line API)

Jump to: navigation, search

This command returns one of the 5 last HTML or XML elements selected via the Inspector.

Syntax

$n(index)

Parameters

index

Index of the element to return (starting at 0) (required)

Examples

$n(3)

Returns the fourth last inspected element.

See also