how to select dom element with data attribute js code example Example: jquery select element with data $('[data-attribute="value"]');