Answers for "jquery select option by value in dropdown"

7

jquery selected option text

$("#mySelect option:selected").html();
Posted by: Guest on April-25-2020
1

jquery selected option

$( "#myselect option:selected" ).val();
Posted by: Guest on July-13-2020

Code answers related to "jquery select option by value in dropdown"

Browse Popular Code Answers by Language