Last Updated: September 09, 2019
· ipetepete

jQuery + console = debugging love

To quickly get to the jQuery object of the element you are inspecting do this in the console:


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?