select dom element by data attribute code example Example: js select by data attribute $("[attribute=value]")