AJAX Refresh Page Content
Jul 16, 2015
function refresh_content() {
	$.ajax({
		type: "GET",
		url: "page.php",
		success: function(result) {
			$("#content").html($(result).find("#content").html());
		}
	});
}

You may need to use filter instead of find if the id is not a top level element.

javascript Related
    Comments