how to load another page within the page by ajax calling code example
Example 1: ajax load spesific element from another page
$.ajax({
url:href,
type:'GET',
success: function(data){
$('#container').html($(data).find('#content').html());
}
});
Example 2: ajax load spesific element from another page
$('#container').load('ajax/test.html #content');