As of jQuery 3.4 :eq
is being deprecated and instead .eq()
should be used.
Here is a code snippet which has multiple jQuery selectors which are using :eq
. How can I break multiple selectors to use .eq()
instead of :eq
?
$(this).find('th.draggable:visible:eq(' + n + ') span,td:visible:eq(' + (g.actionSpan + n) + ') span'));