Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think I might have changed a setting in Google Chrome debugger, but am unsure how to change it back. When I do console.log($('.foo')); I usually get a tree of the DOM structure. Instead, I am getting a bunch of stuff that appears to be the properties of the node (see screenshot). How would I change the output back to seeing a DOM tree?

enter image description here

share|improve this question

1 Answer 1

up vote 0 down vote accepted

http://stackoverflow.com/a/13486942

According to jarodtaylor, you need to append [0] at the end of your statement (ie - console.log($('p')[0]);)

This apparently is a new 'feature' that Google has introduced in Chrome 24. Is there a way to disable this new feature?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.