When selecting elements out of the page like this:
$('.offers')[count - 1].slideToggle(500);
The slideToggle stops working along with any other animations however this does work:
$('.offers')[count - 1].style.display = 'block';
So the elements are being pulled out correctly but the jQuery animations are not working on them.
Any help would be greatly appreciated.
Cheers,
Sam
That’s because you are converting the jQuery object to a DOM Element object, you can use
eqmethod instead: