Tutorial: NodeList

Click the buttons below to execute the corresponding query and NodeList functions.






One
Two
Three
Four
Five
Six

This list is rendered from the following markup:

<div id="list">
	<div class="odd">One</div>
	<div class="even">Two</div>
	<div class="odd">Three</div>
	<div class="even">Four</div>
	<div class="odd">Five</div>
	<div class="even">Six</div>
</div>