Answers for "option selected aotu value"

0

option selected aotu value

$(document).ready(
    function(){
        var theValue = $('#myId').val();
        $('option[value=' + theValue + ']')
            .attr('selected',true);
    });
Posted by: Guest on October-19-2020

Code answers related to "option selected aotu value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language