Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery get selected dropdown item

 // dropdown for company selection
var company = $('#CountryCode').find('option:selected').text();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #selected #dropdown #item
ADD COMMENT
Topic
Name
4+8 =