ikfu7g
Last Updated: February 25, 2016
·
3.287K
· stevennunez
148187 557681800912781 556845050 n

Chrome - Show currently selected element

There's no need to run a crazy jQuery selector to pull up an element in the Chrome console.

  1. Right click and inspect the element.
  2. Open the console tab. The selected element will be accessible as $0.

Chrome will remember the last 5 selected elements. They are accessible by using $0, $1, $2, $3, $4.

Say Thanks
Respond

5 Responses
Add your response

4101
555155 342136309226266 1457627808 n

Whoa

over 1 year ago ·
4104
12003957 10206752435102297 2524621803006121539 n

So simple, yet so powerful

over 1 year ago ·
4105
Img 4302

cmd + shift + c for those who don't like right-clicking

over 1 year ago ·
4108

Also works in firebug for Firefox :)

over 1 year ago ·
5238
Bc5e9f1dbab8c512e52a97c00389f051

Greate tip!

over 1 year ago ·