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

Chapter 8. Drag and Drop

Drag and drop is a very natural method of manipulation for web users. Web users tend to have one hand on the mouse most of the time anyway, so dragging an item around is quicker and easier than using the keyboard or laboriously clicking away until the item is in the right place.

In this chapter, we'll look at a few different ways in which drag and drop can be used to enhance your content management system, including sorting simple lists, dragging between lists, and tree-based lists.

There are other forms of drag and drop available in jQuery's UI project, but we will concentrate on the sortable method, as it is the easiest to use and versatile enough to be used for almost anything that you would want drag/drop for.

In this ...

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