In a basic innerHTML replace loop:


WRONG:
Code:
<script type="text/javascript">
    function displayTimes(){
        var showTimes = ["9am","10am","2pm","7pm","10pm"];
        for (x=0;x < showTimes.length;x++) {
            document.getElementById("shows").innerHTML = "The movie times are " + showTimes[x] + "!<br>";
        
        }
    }
</script>

......

<div id="shows"></div>
This replaces the html each time through, so you will only see the last instance.

RIGHT:
Code:
document.getElementById("shows").innerHTML += "The movie times are " + showTimes[x] + "!<br>";
......

<div id="shows"></div>
The += will (of course) add...