Before going to the specific question I need to explain a few basic steps.
First, the application in question deals with the management of appointments online by cus
If your response includes the and tags:
$("html").html(response);.
$("html").html(response);
If not, and it's only content, then do:
$("body").html(response);.
$("body").html(response);