Search and Top Navigation
#7867 closed bug (duplicate)
Opened November 11, 2011 12:19PM UTC
Closed November 11, 2011 01:02PM UTC
Last modified November 11, 2011 01:02PM UTC
jQuery UI Tabs - Click Event
Reported by: | jimmyheaddon | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm not sure if this is a core jQuery issue or one of jQuery UI Tabs, but in IE8 with jQuery 1.7 and jQuery 1.8.16 if you try to bind to the click event of a tab as follows:
$('#jQueryTabs ul li a').live('click', function () {});
Nothing will happen when you click on any of the tabs. However, if you change the syntax to be as follows it will work as expected:
$('#jQueryTabs ul li a').click(function () {});
I was under the impression that the .live() and .on() events would cover all of these scenarios?
Thanks!