Answers for "jquery reset select 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
0

reset a select option jquery

$('#baba').prop('selectedIndex',0);
Posted by: Guest on September-10-2021

Code answers related to "jquery reset select to first option"

Code answers related to "Javascript"

Browse Popular Code Answers by Language