get element from data target javascript code example Example: jquery select element with data $('[data-attribute="value"]');