Jquery ui tabs initial callback
Hi,
I'm using ui tabs with jquery comboselect, the tabs seem to wait for
the combos select to finish doing its thing before loading.
I want the tabs to load first, then run the initialisation for the
comboselect.
However i can't seem to find the initial callback function for ui tabs
i've tried:
$("#container > ul").tabs().bind("load",
function(event, ui) {
console.log('test-inside');
});
$("#container > ul").tabs().bind("load.ui-tabs",
function(event, ui) {
console.log('test-inside');
});
$("#courseContainer > ul").tabs({
load: function(ui) {
console.log('test-load'); //this doesn't
},
select: function(ui){
console.log('test-select'); //this works
}
});
I think the load event is the callback for when you load tabs
dynamically and it does not fir on initialisation
so any ideas how i put the callback on the initial load?
cheers,
Ben