+ 2
Use same jQuery code to different divs
I have a simple click function for one div that toggles some info under it. How can i use the same function in other divs? if i use the same class for all the divs, when i click on one of them, all the other divs toggle the info too, and i just need the cliked one.
1 Resposta
+ 2
Thank you!