I have the following uiTabs initialization code in my $
(document).ready function:

var $tabs = $("#tabarea > ul").tabs(
                { selected: 0
                , disabled:[2]
                , spinner:''
                , cache:true
                , ajaxOptions: { cache: false }
                , load: function(e,ui) {
                                handleTabLoad(ui.index,this); // this doesn't = 
$tabs?
                        }
                , select: function(e,ui) {
                                handleTabSelect(ui.index);
                        }
                , show: function(e,ui) {
                                handleTabShow(ui.index);
                        }
                });

I've created functions to handle tab loading, selecting, etc. For
example handleTabLoad will to be able to do reference $tabs?

The problem I'm having is that in the handleTabLoad function I need a
reference to the tab area that is being initialized. Is that possible?

Reply via email to