In this post we will see how we can find the second last element from a collection using JQuery collection.
- $('#columnsList li:nth-last-child(2)');
Here columnsList is the ID of our element which has the collection. In my case I am having li as inner elements.
Please see my other posts related to JQuery here: JQuery Posts.