I have a link and a table row that have matching classes. When the link is clicked, I would like to change the background color of the row with the same class. For each ca
You can also do it easily without jQuery with querySelectorAll():
change first row
change second
test1
test2
- 热议问题