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
this question has already been treated here: Replace HTML page with contents retrieved via AJAX
Basically, you may try (My bad this is not working on IE):
document.open(); document.write(newContent); document.close();
or, since you are using jquery
$("body").html(data);
Regards