Last Updated: September 09, 2019
·
3.604K
· ipetepete

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?