Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get selected option text jquery

I think this should be $("#yourdropdownid").children("option").filter(":selected").text() since is() returns a boolean of whether the object matches the selector or not.
Source by www.codespeedy.com #
 
PREVIOUS NEXT
Tagged: #selected #option #text #jquery
ADD COMMENT
Topic
Name
7+5 =