Knowledge Walls
Hyderabad, Andhra Pradesh, India
JQuery Traversing - Filtering in JQuery of JQuery

The first(), last(), eq(), filter() and not() Methods

The most basic filtering methods are first(), last() and eq(), which allow you to select a specific element based on its position in a group of elements.

Other filtering methods, like filter() and not() allow you to select elements that match, or do not match, a certain criteria.

<!DOCTYPE html>
    <html lang="en-US">
        <meta charset="UTF-8">
        <script   src=""   integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="   crossorigin="anonymous"></script>
        <div class="class1">
            <ul class="teachers">
            <ul class="students">
            <ul class="office">
                <li class="staff">JOhn</li>
                <li class="staff">Gopal</li>
            <button id="btn">click here</button>
Next Topics
Next lessons of current book.
JQuery of JQuery
JQuery of JQuery
Previous Topics
Previous lessons of current book.
Best Lessons of "JQuery"
Top lessons which are viewed more times.
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
  Copyright © 2014 Knowledge walls, All rights reserved
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details