O'Reilly logo

jQuery UI 1.10: The User Interface Library for jQuery by Dan Wellman, Alex Libby

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

Working with the Tab events

The Tabs widget defines a series of useful options that allow you to add callback functions to perform different actions, when certain events exposed by the widget are detected. The following table lists the configuration options that are able to accept executable functions on an event:

Event

Fired when...

add

A new tab is added.

disable

A tab is disabled.

enable

A tab is enabled.

load

A tab's remote data has loaded.

remove

A tab is removed.

select

A tab is selected.

show

A tab is shown.

Each component of the library has callback options (such as those in the previous table), which are tuned to look for key moments in any visitor interactions. Any functions we use within these callbacks ...

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