qo6s0g
Last Updated: February 25, 2016
·
3.428K
· 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?