I need to select all elements, which have an attribute starting with a given prefix - note I am talking about the attribute name, not value. For example:
<div data-abc-name="value">...</div>
<a href="..." data-abc-another="something">...</a>
<span data-nonabc="123">...</span>
In the above HTML, I need to get all elements that have an attribute starting with data-abc- - that is, the div and the a.
How can I do that?