Laptop Insurance 1
Differences between jQuery 1.2.x and 1.3.x - Accessing jQuery UI Tabs
Facts - HTML and Javascript
Tuesday, 31 March 2009 13:32
Article Index
Differences between jQuery 1.2.x and 1.3.x
html() function not taking a number
jQuery UI
Accessing jQuery UI Tabs
All Pages

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();
});
 


 
Electric Bikes & Scooters
power systems kettlebells