Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • JQuery - eq( index ) Method

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 311
    Comment on it

    JQuery have DOM filter methods which we can use to filter out elements from a list of DOM elements.

    It provides DOM traversal methods to help us select elements in a document randomly as well as in sequential method.

    DOM Traversal Methods instead of modifing the jQuery object, it filters out elements from a document.

    eq( index ) Method is one of the useful method used to reduce the set of matched elements to a single element.

    eq( index ) Method Syntax:- selector.eq( index )

    See the example given below


          <title>The jQuery Example</title>
          <script type = "text/javascript" 
             src = "">
          <script type = "text/javascript" language = "javascript">
             $(document).ready(function() {
             .selected { color:green; font-size:15px;}

 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: