I am trying to save the result of a jquery selector to an array, so I can reference each element later.
I tried this ...
var found_slides = [];
found_slides = $(".slide");
var current_slide = found_slides.length - 1;
found_slides[current_slide].fadeOut(2500);
Currently, this does not allow me to run any jQuery functions in array instances. What is the correct way to store and reference jQuery selector results?
Thank.
Dan source
share