When elements are selected from the page using the following code:
$('.offers')[count - 1].slideToggle(500);
The slideToggle function stops working, along with any other animations. However, this code snippet does work:
$('.offers')[count - 1].style.display = 'block';
Therefore, the elements are being retrieved correctly, but jQuery animations are not functioning on them.
I would greatly appreciate any assistance.
Thank you,
Sam