Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select first option in dropdown jquery

myElement.find('option:eq(0)').prop('selected', true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #option #dropdown #jquery
ADD COMMENT
Topic
Name
2+8 =