how to I get classes with jquery?
I know that $(“#nameOfId”) gets id, so I assumed $(“.nameOfClass”) would get class…
The problem is that id is unique while class isnt.
I’ve tried something like $(“.nameOfClass”).top(), but this doesn’t work.
Read more here: How do i get classes with jquery?