Difference between revisions of "$n"

From FirebugWiki
Jump to: navigation, search
(Added description of syntax and linked back to Command Line API)
m ($2, $3, $4)
Line 20: Line 20:
 
* [[$0]]
 
* [[$0]]
 
* [[$1]]
 
* [[$1]]
 +
* [[$2]]
 +
* [[$3]]
 +
* [[$4]]
 
* [[Command Line API]]
 
* [[Command Line API]]

Revision as of 15:59, 14 June 2013

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