Option value or Test

by Akram kamal

HTML

<select id=adx_recentquality>
    <option disabled selected>select one</option>
    <option>1</option>

    <option>2</option>

    <option>3</option>

</select>
<div id=adx_quickservice> blah </div>

JavaScript

$(document).ready(function() {

    $("#adx_quickservice").hide();

    $("#adx_recentquality").on("change", function() {


        var selected = + $(this).val();


        alert(selected);
        
        
        $("#adx_quickservice").show();

    });

});