Last Updated: February 25, 2016
·
727
· meerkatdev

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