SyntaxFix
Write A Post
Hire A Developer
Questions
You can also try this way
<option id="opt7" class='select_continent' data-value='7'>Antarctica</option>
jquery
$('.select_continent').click(function () { alert($(this).data('value')); });
Good luck !!!!