jQuery + console = debugging love
To quickly get to the jQuery object of the element you are inspecting do this in the console:
$($0)
The trick here is that $0 holds the element currently being inspected, so manipulating it from the console becomes super easy with a little jQuery wrapping.
Works in -webkit, -moz browsers...maybe others?
Written by Peter Peterson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Related Tags
#jquery
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#