Am 07.06.2011 16:40, schrieb Andrea Fineschi:
I have 3 div. I can edit one of this using  - var hello[X] =
document.getElementsByTagName('div') -
If i want to edit the first, X=0
If i want to edit the second, X=1
If i want to edit the third, X=2
If i want to edit the fourth, X=3

I want to know the number "X" using Firebug. X is the position in the
array (hello[]):)

Just use document.getElementsByTagName('div') as a watch expression in the script side panel.

In the right click menu of the found items you can jump to the relevant HTML...

--
Erik Krause
http://www.erik-krause.de

--
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to