Skip to main content

Traversing DOM with jQuery

  • Chapter
Practical jQuery
  • 1804 Accesses

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

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Mukund Chaudhary and Ankur Kumar

About this chapter

Cite this chapter

Chaudhary, M., Kumar, A. (2015). Traversing DOM with jQuery. In: Practical jQuery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0787-1_3

Download citation

Publish with us

Policies and ethics