I have a quick question. How do I write a jQuery selector expression with multiple :eq() selectors? I want to go down the DOM tree but every hope isn\'t uniform. Here is wha
Using an each loop - elegant and not repetitive:
$.each([0, 1, 5], (_, n) => { $('div').eq(n); });
Last I checked, this technique performs best:
$('div').filter(':eq(0), :eq(1), :eq(5)');