foreach in the elements with a data attibute jquery

JavaScript
 $('#Selector option[data-price]').last()
Source

Also in JavaScript: