Chapter 26. Working with Object Trees

Working with Object Trees

This chapter covers working with objects in a hierarchy using JavaScript. There are various applications for this. For example, you can have a folder tree like the one in Windows Explorer. In that application, you can navigate through a file directory system and open a directory by clicking a folder icon, as you saw in the document management application in Chapter 20, “Web-Based Document Management.” Other examples are an XML-based online help system and a table of contents for an online book, as described in Chapter 19, “XML-Based E-Books.”

When you work with objects in JavaScript, the array object is basically ...

Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.