Question: what is eq function in jquery?
Answer: The eq() method is an inbuilt method in jQuery which is used to locate the selected elements directly and returns an element with specific index. Syntax: $(selector).eq(index) Parameters: Here the parameter “index” specifies the index of the element.