views:

100

answers:

5

Is there anything else I could use instead of an iframe on my web page by where I still need to pass a url or is iframe it?

Thanks.

A: 

You'll need to tell us a bit more about what you're trying to do so we can help you out a bit more.

It sounds like an HTTP Request/AJAX might fit the bill, but its hard to say at the moment.

James Wiseman
A: 

You can use an ajax request to fetch the content and then just inject it into the page but that won't work cross domain, so if you're trying to host external content iframe is the way to go.

Ken Struys
A: 

Since you put jQuery as a tag I suggest you either look at http://api.jquery.com/load/.

XIII
A: 

you can create a div and fill this div in multiple ways, either do an ajax request or if you're using any server scripting language you can just do an include inside the div.

using iframes is still the cleanest options for most uses.

Moe Salih
A: 

There is no other option for crossdomain embedding unless you use which I strongly do not recommend. You can, however, hide the iframe using CSS.

Crossdomain communication can be done in a variety of ways as well.

CapnKernul