Home >>jQuery Tutorial >jQuery :eq() Selector

jQuery :eq() Selector

jQuery :eq() Selector

jQuery :eq() selector in jQuery is used to selects an element with a specific index number which starts at 0.


Parameter Values

Parameter Description
index It is a Required parameter and used to specifies the index of the element
Here is an Example of jQuery :eq() Selector:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<h1>Welcome to Phptpoint</h1>
<p class="intro">My name is phptpoint.</p>
<p>I live in Noida.</p>
<p>Who is your favourite:</p>
<ul id="fav">


Welcome to Phptpoint

My name is phptpoint.

I live in Noida.

Who is your favourite:

  • JAVA
  • jQuery
  • Javascript

No Sidebar ads