$n
From FirebugWiki
(Difference between revisions)
Sebastianz (Talk | contribs) (Separate Command Line API page for $n()) |
Sebastianz (Talk | contribs) (Added description of syntax and linked back to Command Line API) |
||
| Line 1: | Line 1: | ||
This command returns one of the 5 last HTML or XML elements selected via the [[Inspector]]. | This command returns one of the 5 last HTML or XML elements selected via the [[Inspector]]. | ||
| + | |||
| + | == Syntax == | ||
| + | <source lang="javascript"> | ||
| + | $n(index) | ||
| + | </source> | ||
== Parameters == | == Parameters == | ||
| Line 15: | Line 20: | ||
* [[$0]] | * [[$0]] | ||
* [[$1]] | * [[$1]] | ||
| + | * [[Command Line API]] | ||
Latest revision as of 10:59, 5 July 2012
This command returns one of the 5 last HTML or XML elements selected via the Inspector.
Contents |
[edit] Syntax
$n(index)
[edit] Parameters
[edit] index
Index of the element to return (starting at 0) (required)
[edit] Examples
$n(3)
Returns the fourth last inspected element.