6 ms·
iframe, you are dead to me
- Jbudone 15y agoLol, amusing post.. But in all seriousness the iFrame is incredibly useful when developing Comet-based webapps
- paulhauggis 15y agoWhen ajax supports POST file uploads, I might consider the extinction of iframe.
- jamroom 15y agoExactly - this is currently the only reason we still use iframes in any capacity.
- k4st 15y agoAnd WYSIWYG editing.
- underwater 15y agoAre you talking about document.designMode? You can enable contentEditable on any element to enable editing for subset of the document.
- underwater 15y agoYou 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_applications https://developer.mozilla.org/en/Using_files_from_web_applic... https://developer.mozilla.org/en/XMLHttpRequest/FormData https://developer.mozilla.org/en/XMLHttpRequest/FormData
- Domenic_S 15y agoDatabase connection, you are dead to me.
- saurik 15y agoThe 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.
- Urgo 15y agoiOS, you are dead to me
- dannyc 15y agoI 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.
- projectedoptics 15y agoSounds like he has more of an issue with how iframes are implemented on various platforms than with iframes themselves. Up until recently I had a similar issue with position fixed on mobile devices.