How to do something different with first element in each loop?
Within an each() loop, is it possible to do something with the first element in particular, not the next ones? Something like this:
You could determine if it is the first element by checking the index.
Alternatively, you could also just access the first element outside of the loop using the
:first selector would also work: