On Jan 16, 8:04 pm, Diego <[EMAIL PROTECTED]> wrote:
> nvm
> It works
>
> $(function() {
> $('#container ul').tabs(3);
> $('#container ul').tabs({ cache: false });
> $('#container ul').tabs({
>     click: function() {
>         $('#container').tabs().tabsHref(3,'/jsp/BuscarTareas.do');
>     }
>         });
>
> });

Here you're initializing the same tabs three times in a row and again
in the click handler. You should actually be doing this:

var $tabs = $('#container ul').tabs(3, {
    click: function() {
        $tabs.tabsHref(3, '/jsp/BuscarTareas.do');
    }
});

Even if your code would work the tabs you have in the end uses the
options that were given in the latest initialization. That could cause
some unexpected behavior I guess.


--Klaus


--Klaus

Reply via email to