Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <div id="boxa">
    <a>A</a>
    <a>B</a>
    <a>C</a>
    <a>D</a>
    <a>E</a>
  </div>
</body>
</html>
 
var acorn = document.getElementById("boxa");
var outputResults = acorn.childNodes;
document.write(outputResults);
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
FDVSpro
0viewers