DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+9 =
Submit