Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access selected option in jquery

$( "#myselect option:selected" ).text();
// => "Mr"
Source by learn.jquery.com #
 
PREVIOUS NEXT
Tagged: #access #selected #option #jquery
ADD COMMENT
Topic
Name
5+4 =