What does “eq” in the jquery .eq() method stand for?

eq() makes sense if you know it’s part of a related set of selectors (from the JQuery docs):

The index-related selectors (:eq(), :lt(), :gt(), :even, :odd) filter
the set of elements that have matched the expressions that precede
them.

When lined up next to lt (less than), and gt (greater than), it’s clear that it means equals, specifically “index equals n“.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)