JS: load external content into block
$("#content").load("somefile.html", function(response, status, xhr) { // error handling if (status == "error") { $("#content").html("An error occured: " + xhr.status + " " + xhr.statusText); } });