Get a web contents from other website
I have simple web contents in a page on one server, foo.bar.org
and want to plant that in a page on a second server, bar.org
This code doesn't work:
$(function(){
$("#test").load("http://foo.bar.org/test.shtml");
});
although it does work if I put test.shtml on the second server, bar.org, and refer to it relative to root.
Can someone please tell me how to get it from foo.bar.org?
thanks!
CC