O'Reilly logo

jQuery 1.3 with PHP by Kae Verens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Choosing a directory

There are a number of ways of allowing a directory to be selected. We could build a tree menu or an icon-based navigation system, like Windows, KDE, Gnome, which is popular in common desktop managers. For the purpose of this chapter, a tree-based solution is too bulky. We will look at how to build a tree-based navigation tree in Chapter 7, Image Manipulation.

In this chapter, we will build a select box that can be used in a form for file selection and uploads. The select box will change dynamically as different options are selected.

Choosing a directory

To set this up, start by creating a new directory, which is outside of the web root, and make ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required