Answers for "find the selected value of dropdown in jquery"

2

get text selected option jquery

$('#id option:selected').text()
Posted by: Guest on December-16-2019
0

jquery dropdown selected value show field

jQuery(document).ready(function() {
    jQuery("#carm3").change(function() {
        if (jQuery(this).val() === 'other'){ 
            jQuery('input[name=other_interest]').show();   
        } else {
            jQuery('input[name=other_interest]').hide(); 
        }
    });
});
Posted by: Guest on July-06-2020

Code answers related to "find the selected value of dropdown in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language