0

Is it possible to load an external website into my own existing page?

Or, is this a security risk, and will it not be allowed, or is it too uncommon and a burden to accomplish?

If so, would I need to make an ajax call to do this?

Thanks.

Qcom
  • 18,263
  • 29
  • 87
  • 113

1 Answers1

0

Ajax: Won't work easely. It's called cross-domain ajax requests and it's not easy to implement (see http://www.peachpit.com/blogs/blog.aspx?uk=Performing-Cross-Domain-Ajax-Requests).

IFrame: Will work.

Hilydrow
  • 918
  • 1
  • 6
  • 15
  • 1
    This is true for pretty much all browsers: http://en.wikipedia.org/wiki/Same_origin_policy Is there any chance you can load data into an iframe and then pull the data out using javascript? – cvolny Jan 18 '11 at 02:19