SyntaxFix
Write A Post
Hire A Developer
Questions
Simpler syntax if one form.
var option = $('option:selected').attr('mytag')
... if more than one form.
var option = $('select#myform option:selected').attr('mytag')