I am not able to load an external html page into a div in my page.
My Jquery Code is:
$(document).ready(function(){
     var url = 'http://www.google.com';
     $.get(url, function(response) {
          $('div#external').html(response);
     });
 });
My HTML page is
<html><body><div id="external"></div></body></html>
I also tried using another JQuery code
$(document).ready(function() {
    $('#external').load('http://google.com');
});    
Could anyone please help me.
Thanks Amal
 
     
     
     
     
    