Live data from Hacker News

iframe, you are dead to me

joshondesign.com

1–10 of 12 posts

Re: iframe, you are dead to me

#7
The very feature/bug that this post culminates with is actually the very reason why iframes on iOS have become an invaluable and seemingly irreplaceable tool in my architecture. It is the lack of cross-site uncooperative content resizing that has kept a lot of my stuff confined to iOS.

Re: iframe, you are dead to me

#9
I had never used iframes until I switched jobs and was tasked with upgrading a legacy application with literally hundreds of lines of javascript on many of the html pages- frequently set to run on onload(). Because a full rewrite was not an option- iframe came to be my salvation. Ajax just wouldn't have cut in this scenario.

Re: iframe, you are dead to me

#10

When ajax supports POST file uploads, I might consider the extinction of iframe.

You should be able to get the file list from an input in the 'change' event and then upload a FormData object via XHR.

https://developer.mozilla.org/en/Using_files_from_web_applic...

https://developer.mozilla.org/en/XMLHttpRequest/FormData

Post reply on HN