Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
select first option in dropdown jquery
Joe Hayes
Programming language:
Javascript
2021-06-30 00:07:35
0
Q:
select first option in dropdown jquery
Mitchell Spector
Code:
Javascript
2021-06-01 03:59:39
myElement.find('option:eq(0)').prop('selected', true);
0
Tags
jquery
option
down
first
select
Related
jquery select the 3rd row of a table
jquery get selected option value
select option value jquery
how to get the selected index of dropdown in jquery
get selected option value jquery
how to select the first div in jQuery
jquery dropdown selected value show field
how to fetch the selected value of dropdown jquery
get option value jquery
jquery select option by value
how to select second element in jquery
select the first elemnt have class in jquery
how to get the value of dropdown in jquery
jquery find selected option by class
how to get the selected text of dropdown in jquery
jquery get dropdown list selected value
jQuery get selected option
jquery: get selected option of the drop down list
New to Communities?
Join the community