Given the code below.

var tabcfg = {
          selected: 0
        , disabled:[2]
        , spinner:''
        , cache:true
        , ajaxOptions: { cache: false }
        , load: handleTabLoad
        , select: handleTabSelect
        , show: handleTabShow
}

function handleTabLoad(e,ui) {

$("#ship_loc_tab_link");

}

...

$(document).ready(function() {
    var $tabs = $("#tabarea > ul").tabs( tabcfg );
}

The handleTabLoad, handleTabSelect, etc functions are not declared

On Sep 11, 10:16 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On Sep 11, 5:47 pm, Brad <[EMAIL PROTECTED]> wrote:
>
> > var $tabs = $('#example > ul').tabs(tabcfg); // first tab selected
>
> > Since this is a single page application I would like to grab and store
> > a global reference to the tab control on creation, instead of having
> > to get the reference each time I need it (which will be often). Is
> > there a way to do that?
>
> $tabs is your reference as far as I can see...
>
> --Klaus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to