selected option data jquery code example
Example 1: jquery select element with data
$('[data-attribute="value"]');
Example 2: jquery get data attribute of selected option
$(this).find(':selected').data('id')
$('[data-attribute="value"]');
$(this).find(':selected').data('id')