Possible Duplicate:
Are iframes considered 'bad practice'?
Some say that iFrame is evil.
But it seems that Facebook uses iFrames for the Facebook applications, and dumping FBML (Facebook markup language).
I have never used iFrames before, but is it a good practice to use them if you want to “install” other web applications on your web application.
Also, how do you send data between iFrame applications and your own web application?
iframes are not evil.
They’re not very well thought of, that’s true, but they’re not evil either. They can be misused but what technology can’t?
You can send data between iframes and your own webapp with a bit of JavaScript. I think window.parent is what you’re looking for.