Answers for "jquery set select first option as selected"

1

select first option in dropdown jquery

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

jquery change selected option to first

$('#agregador-de-servicios')[0].selectedIndex = 0;
Posted by: Guest on January-27-2021

Code answers related to "jquery set select first option as selected"

Code answers related to "Javascript"

Browse Popular Code Answers by Language