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

Selectable callbacks

In addition to the standard configurable options of the selectable API, there are also a series of event callback options that can be used to specify functions that are executed at specific points during a select interaction. These options are as listed in the following table:

Option

Triggered when

selected

The select interaction ends and each element added to the selection triggers the callback.

selecting

Each selected element triggers the callback during the select interaction.

start

A select interaction begins.

stop

This is fired once, regardless of the number of items selected, as the select interaction ends.

unselected

Any elements that are part of the selectable, but are not selected during ...

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