Display Text in DIV based on Form Select

by SullysRants

HTML

<select name="reviewed_select" id="reviewed_select">
    <option selected="selected">Select...</option>
    <option value="No Issues">No Issues</option>
    <option value="Not Applicable">Not Applicable</option>
    <option value="See Comment">See Comment</option>
</select>
    
<div id="display_text_here"></div>

JavaScript

$("#reviewed_select").change(function() {
    if ($("#reviewed_select").val() == "Select...") {
        $("#display_text_here").text("");
    }
    if ($("#reviewed_select").val() == "No Issues") {
        $("#display_text_here").text("I see no issues with this software.");
    }
    if ($("#reviewed_select").val() == "Not Applicable") {
        $("#display_text_here").text("3");
    }
    if ($("#reviewed_select").val() == "See Comment") {
        $("#display_text_here").text("4");
    }
}).change();