Difference between revisions of "$n"

From FirebugWiki
Jump to: navigation, search
m ($2, $3, $4)
m (Added categories)
 
Line 24: Line 24:
 
* [[$4]]
 
* [[$4]]
 
* [[Command Line API]]
 
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 16:02, 21 November 2013

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

Syntax[edit]

$n(index)

Parameters[edit]

index[edit]

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

Examples[edit]

$n(3)

Returns the fourth last inspected element.

See also[edit]