Using jQuery Plugins with live()
I have a page that dynamically loads content with the jQuery load() function, so I need to use live() for each of my jQuery functions on this page. However, I am unable to get live() to work with jQuery plugins. For example, I want to use jQuery accordion:

    $("#accordion").accordion();

But I cannot find the right syntax to get accordion to work with live(). I have tried:

    $("#accordion").live("load", accordion());
    $("#accordion").live("load", $("#accordion").accordion());
    $("#accordion").live("load", $(this).accordion());

I either receive the "b is undefined" error, or "accordion is not defined."
Using jQuery Plugins with live()
===

I have a page that dynamically loads content with the jQuery load() function, so I need to use live() for each of my jQuery functions on this page. However, I am unable to get live() to work with jQuery plugins. For example, I want to use jQuery accordion:

    $("#accordion").accordion();

But I cannot find the right syntax to get accordion to work with live(). I have tried:

    $("#accordion").live("load", accordion());
    $("#accordion").live("load", $("#accordion").accordion());
    $("#accordion").live("load", $(this).accordion());

I either receive the "b is undefined" error, or "accordion is not defined."