jquery each element with data attribute code example
Example 1: jquery select by data attribute
$('div[data-key=value]');
Example 2: foreach in the elements with a data attibute jquery
$('#Selector option[data-price]').last()
$('div[data-key=value]');
$('#Selector option[data-price]').last()