48
rated 0 times
[
53]
[
5]
/ answers: 1 / hits: 6205
/ 10 Years ago, fri, april 4, 2014, 12:00:00
So I'm trying to run an each loop in jQuery that has an if statement to determine if the element it's on is the first-child of it's parent and also have the else statement following (this seems to be the difficult part) to have other code run for those.
Everything I've tried and found only seems to work without the if and else..
Any thoughts?
More From » jquery