qo6s0g
Last Updated: December 02, 2018
·
3.432K
· 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?