Console.dir on Chrome
In the debug console of Google Chrome, to explore an element of the DOM, you can use console.dir(), for example, in the console, type:
dir(document.getElementById('id_element'))
and you will be able to explore the correlated js object
Written by MeerKatDev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Chrome
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#