Click the button to change the text of the first div element with class="example" (index 0).
Note: The getElementsByClassName() method is not supported in Internet Explorer 8 and earlier versions.