I have a jquery-ui tab displays information that can be edited using a xajax pop up dialog.
After saving the dialog I wanted to “refresh” the current tab.
This little bit of code in the server did the trick.
$objResponse->addScript(‘ $(“#dialog”).dialog(‘ . “‘close’);”);
$objResponse->addRemove(‘dialog’);
$mycmd = <<$(“#tabs”).tabs(‘load’,$(“#tabs”).tabs(‘option’,’selected’));
MY_DELIMITER;
$objResponse->addScript($mycmd);