Thursday, May 14, 2015

Skip first N elements in JQuery

jQuery has a gt selector. (Greater than).
$('#test > div:gt(1)');
Or you can use the slice function
$('#test > div').slice(2);

No comments:

Post a Comment