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