Refreshing jquery-ui tabs using php xajax calls

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);

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.