Created
September 1, 2017 08:02
-
-
Save Clickys/c0138ac1ba6ea04ea384cb7fba70104c to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/qizikef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div id="section1"> | |
<li>1</li> | |
<li>1</li> | |
<li>1</li> | |
<li>1</li> | |
<li>1</li> | |
</div> | |
<script id="jsbin-javascript"> | |
var getSection = document.getElementById('section1'); | |
var sectionChilds = getSection.childNodes; | |
console.log(sectionChilds); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var getSection = document.getElementById('section1'); | |
var sectionChilds = getSection.childNodes; | |
console.log(sectionChilds);</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getSection = document.getElementById('section1'); | |
var sectionChilds = getSection.childNodes; | |
console.log(sectionChilds); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment