Some people say that objects instead of iframes are the way forward. But divs and iframes are completely different things. Iframe is like a separate page on a page. This has a different context, different scripts, different css ... A similar result can be achieved using the object. But nothing like this can be done with a div.
You can upload content in a div. You can use javascript to change the contents of a div. With an ajax call, you can get the contents of a url that can be placed in a div using javascript.
But this is completely different from iframes.
Goleztrol
source share