I have a drop down menu that, when clicked, successfully changes the image's thumbnail. But, I also need the <p> text to change. I looked at W3Schools, and still to no avail. Here is my code.
<p id="caption"></p>
<select name="woodType" id="woodType" onChange="changeThumbnail();changeCaption(this);">
<script>
    function changeCaption(selTag) {
        var caption = selTag.options[selTag.selectedIndex].text;
        document.getElementById("caption").text = "Wood: " + caption;
    }
</script>
The text will NOT change.
 
     
     
     
    