DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery get data attribute of selected option
$(this).find(':selected').data('id')
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jquery
#data
#attribute
#selected
#option
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit