javascript - Chrome console accessing DOM -
when put in chrome console like:
document.getelementbyid('scroller')
i like:
<div class="blah" id="scroller>...</div>
but if pause script , throw in watch same expression i'll javascript object, how javascript object in regular console like:
document.getelementbyid('scroller'): div#scroller.multiplefiles accesskey: "" align: "" attributes : namednodemap baseuri : "http://localhost:3000/cards.html#card-text-download-cycler" childelementcount: 12 childnodes: nodelist[25] ...
console.dir(document.getelementbyid('scroller'))
Comments
Post a Comment