Jquery – Loading the nth-of-type selector into a variable
I have a JQuery that gives different results for different iterations of the same element. For example; <div>Hello</div> <div>click</div> <div>here</div> ... <div>The end</div> I want to create a loop whereby JQuery gives different results depending on which Div is clicked;…