JSREF

HTML DOM Element getElementsByClassName()

Change the text of the first list item with class="child":