Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get attribute of selected option jquery

var option = $('option:selected', this).attr('mytag');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #attribute #selected #option #jquery
ADD COMMENT
Topic
Name
1+2 =