I need to load a responsive website into a div on my HTML page without using an iframe element.
I tried this link ; it works for the single page URL that I mentioned in the script.
$('#mydiv').load('http://localhost/qa/ask#external-div', function(response, status, xhr) { if (status == "error") { var msg = "Sorry but there was an error: "; alert(msg + xhr.status + " " + xhr.statusText); } });
jquery web
user2089987 Aug 09 '13 at 11:04 on 2013-08-09 11:04
source share