Chrome - Show currently selected element
There's no need to run a crazy jQuery selector to pull up an element in the Chrome console.
- Right click and inspect the element.
- 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.
Written by Steven Nunez
Related protips
5 Responses
Whoa
over 1 year ago
·
So simple, yet so powerful
over 1 year ago
·
cmd + shift + c
for those who don't like right-clicking
over 1 year ago
·
Also works in firebug for Firefox :)
over 1 year ago
·
Greate tip!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Chrome
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#