In my html I have a span element:
span
This is a
Change IDs and data attributes as you wish!
Mazda Honda Mercedes Toyota $("#selectVehicle").change(function () { alert($(this).find(':selected').data("year")); });
Here is the working example: https://jsfiddle.net/ed5axgvk/1/