O'Reilly logo

jQuery UI 1.8 The User Interface Library for jQuery by Dan Wellman

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 12. The Selectables Component

The selectables component allows you to define a series of elements that can be chosen by dragging a selection square around them or by clicking them as if they were files on the desktop. In this way, elements on the page can be treated as objects, allowing either single elements or groups of them to be selected.

Topics that will be covered in this section include:

  • Creating the default implementation
  • How selectable class names reflect the state of selectables
  • Filtering selectable elements
  • Working with selectable's built-in callback functions
  • A look at selectables' methods

A selection square has been a standard part of modern operating systems for a long time. For example, if you wanted to select some of the icons ...

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