I'm not sure why suddenly it's not loading content from other html document.
$('a').on('click', function(e){
e.preventDefault();
$.get('page1.html', function(data){
var content = $('#result', data).html();
console.log(content);
});
});
<a href="#">Load Page</a>
It was loading the content inside the div called #result in page1.html before, I don't know what I have changed but it's not working now.
console.log
XMLHttpRequest cannot load file:///I:/page1.html. Received an invalid response. Origin 'null' is therefore not allowed access.