jquery load another view 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');