Skip to main content

Search and Top Navigation

#3063 closed bug (fixed)

Opened July 04, 2008 12:22AM UTC

Closed July 04, 2008 06:27PM UTC

Last modified July 09, 2008 05:38PM UTC

Binding handler to 'tabsselect': ui undefined

Reported by: acheetham Owned by: klaus.hartl
Priority: major Milestone: 1.5.2
Component: ui.tabs Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

In an event handler bound to the "tabsselect" event, the 'ui' parameter is undefined.

To reproduce:

Given the example code provided in the UI/Tabs documentation (, bind an event handler to "tabsselect", e.g.



var tablist = $("#example > ul").tabs();

tablist.bind("tabsselect", function(evt, ui) {

alert("tab: ";




The attempt to access will produce an error, because ui is undefined.

Attachments (0)
Change History (2)

Changed July 04, 2008 06:27PM UTC by paul comment:1

resolution: → fixed
status: newclosed

This is a known regression in jQuery UI 1.5.1. In this version, if you bind to the event this way, the third parameter is the UI object. It's fixed in the next release coming out in the next days.

Changed July 09, 2008 05:38PM UTC by paul comment:2

milestone: → 1.5.2