On Jan 30, 3:14 pm, carvingcode <[EMAIL PROTECTED]> wrote:
> I have a tab that I don't want the content (generated from a
> separate .php file) to load untilt he user selects the tab.
>
> How can I do this?
>
> TIA

If the tab is not active it won't load anyway. Another option is to
set all tabs unselected:

$('#example').tabs({ unselected: true });

Or you can change the URL of a tab later and change it from being an
in-page tab to an Ajax tab using the tabsHref method:

var $tabs = $('#example').tabs();
$tabs.tabsHref(1, 'foo.php');

The panel the tab was associated with will be re-used for loading the
content into on the next click.


--Klaus

Reply via email to