|
Differences between jQuery 1.2.x and 1.3.x - Accessing jQuery UI Tabs |
|
Facts -
HTML and Javascript
|
|
Tuesday, 31 March 2009 13:32 |
|
Page 4 of 4
Accessing jQuery UI Tabs
In this example tabsContainer is the DOM Id of the DIV surrounding the list defining the tabs and the DIV's with the contents of the individual tabs. With jQuery 1.2.x and jQuery 1.6 UI I used the following syntax:
$(document).ready(function() {
$("#tabsContainer > ul").tabs();
});
With jQuery 1.3 and jQuery UI 1.7 I have changed this to:
$(document).ready(function() {
$("#tabsContainer").tabs();
});
|