if child has data attribute jquery code example Example: jquery select element with data $('[data-attribute="value"]');