Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript log dom element

console.log(element); // logs the expandable <html>…</html>
console.dir(element); // logs the element’s properties and values
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #log #dom #element
ADD COMMENT
Topic
Name
8+7 =