how to select html data in jquery code example Example: jquery select by data attribute $('div[data-key=value]');