Answers for "set the first item as selected using jquery for all the select"

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 "set the first item as selected using jquery for all the select"

Code answers related to "Javascript"

Browse Popular Code Answers by Language