how to get all elements with a data attribute code example Example: js select by data attribute $("[attribute=value]")