{"id":86,"date":"2011-03-29T05:33:08","date_gmt":"2011-03-29T02:33:08","guid":{"rendered":"http:\/\/meekconsulting.com\/?p=86"},"modified":"2011-03-29T05:33:08","modified_gmt":"2011-03-29T02:33:08","slug":"refreshing-jquery-ui-tabs-using-php-xajax-calls","status":"publish","type":"post","link":"https:\/\/meekconsulting.com\/?p=86","title":{"rendered":"Refreshing jquery-ui tabs using php xajax calls"},"content":{"rendered":"<p>I have a jquery-ui tab displays information that can be edited using a  xajax pop up dialog.<\/p>\n<p>After saving the dialog I wanted to \u201crefresh\u201d the current tab.<\/p>\n<p>This little bit of code in the server did the trick.<\/p>\n<blockquote><p>\n\u00a0<br \/>\n$objResponse->addScript(\u2018 $(\u201c#dialog\u201d).dialog(\u2018 . \u201c\u2018close\u2019);\u201d);<br \/>\n$objResponse->addRemove(\u2018dialog\u2019);<br \/>\n$mycmd = <<<MY_DELIMITER<br \/>\n$(\u201c#tabs\u201d).tabs(\u2018load\u2019,$(\u201c#tabs\u201d).tabs(\u2018option\u2019,\u2019selected\u2019));<br \/>\nMY_DELIMITER;<br \/>\n$objResponse->addScript($mycmd);<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>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 \u201crefresh\u201d the current tab. This little bit of code in the server did the trick. \u00a0 &hellip; <a href=\"https:\/\/meekconsulting.com\/?p=86\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[9,7,8],"_links":{"self":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/86"}],"collection":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":2,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}