How to get to specified item in jquery array
I have something like this:
- var images = $('#container img'); // my new array
- images.get(images.length - 2).addClass('show');
error is like this:
Error: $("#container img").get(images.length - 2).addClass is not a function
I think it's not a big issue