How to load content from external page using jQuery?
- by Pr0fess0rX
Hello,
Is it possible to load content from an external page (not relative) into div using jquery?
I mean here by external page is another web application like for example: http://www.yahoo.com
There is the code:
$("#externalContent").load("http://www.yahoo.com", function () {
alert("loading finish");
});
when I use firebug I got this result:
you see here, i highlighted the response code, it's 200 which means OK, but still no content loaded.
DOES anyone know the reason?