Answers for "jquery set dropdown to first option"

1

select first option in dropdown jquery

myElement.find('option:eq(0)').prop('selected', true);
Posted by: Guest on October-08-2020

Code answers related to "jquery set dropdown to first option"

Code answers related to "Javascript"

Browse Popular Code Answers by Language