//PHP Core_Sijax::registerCallback('populateDialog', function (Core_Sijax_Response $objResponse, $dialogId) { $objResponse->html('#' . $dialogId, 'This is dialog ' . $dialogId); });