Possible Duplicate:
Origin is not allowed by Access-Control-Allow-Origin
I want to access elements from a web page.
for example I am using jquery :
$("#links").load('http://www.youtube.com a');
to bring all the links from youtube page to my local page.
But I am not able to do it, getting an error :
XMLHttpRequest cannot load http://en.wikipedia.org/wiki/Special:Search?search=&go=Go. Origin "my local host " is not allowed by Access-Control-Allow-Origin.
When i try to do this with another local page I am getting it.
any help? Hope i explained my question properly.