get elemetn by data attribute javascript code example Example: js select by data attribute $("[attribute=value]")