views:

15

answers:

1

HI!

for example i have site1.com Is it possible to send request from site1.com page witch loads in client browser, to other sites site2.com etc (i have no access to them) and parse result data? Is it possible to do it via javascript and how?

+1  A: 

It's not possible for security reasons (and blocked by the same-origin policy), the only thing you can fetch is JSONP across domains (since it's a single GET), otherwise you have to proxy requests through the domain the parent page is on.

Nick Craver