Advertisement

Traversing DOM with jQuery

  • Mukund Chaudhary
  • Ankur Kumar

Abstract

Having arranged the setup and acquired hands-on knowledge about some of the intricacies of jQuery, can we now ask you to put on your work wear, please? In this chapter, we promise that you will get your clothes dirty with some real-world action sequences. The fortress for you to scale is the DOM (Document Object Model). As you saw in  Chapter 2 (refer to Figure  2-1), DOM is an m-ary tree. The best way to reach out to any node is to traverse the nodes and locate the desired node element. In this chapter, you will observe and, therefore, learn how jQuery helps in DOM traversal. By the end of the chapter, you will be familiar with

Keywords

Input Element Selector Expression Tree Traversal Code Snippet Type Selector 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Mukund Chaudhary and Ankur Kumar 2015

Authors and Affiliations

  • Mukund Chaudhary
    • 1
  • Ankur Kumar
    • 1
  1. 1.NoidaIndia

Personalised recommendations