views:

150

answers:

1

What would be a call back method for adding a Ajax jQuery tab?

Example:

url ="a.jsp";

jQuery("#featur").tabs("add",url,"bio" , modul); // Add tab and content.

After response was ready I need to call one more method like changeTextArea().

How to do it?

A: 

I haven't used tabs before, but I believe you want the loaded option:

$('#example').tabs(
{
    load: function(event, ui)
    {
        // Do some stuff.
    }
});

See this example in the docs.

Will Vousden