Embed an External Page Without an Iframe? Embed an External Page Without an Iframe? asp.net asp.net

Embed an External Page Without an Iframe?


You could load the external page with jquery:

<script>$("#testLoad").load("http://www.somesite.com/somepage.html");</script><div id="testLoad"></div>//would this help


Or you could use the object tag:

http://jsfiddle.net/7MaXx/

<!--[if IE]><object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="http://www.google.be"><p>backup content</p></object><![endif]--><!--[if !IE]> <--><object type="text/html" data="http://www.flickr.com" style="width:100%; height:100%"><p>backup content</p></object><!--> <![endif]-->


Question is good, but the answer is : it depends on that.

If the other webpage doesn't contain any form or text, for example you can use the CURL method to pickup the exact content and after then showing on your page. YOu can do it without using an iframe.

But, if the page what you want to embed contains for example a form it will not work correctly , because the form handling is on that site.