4 ms·
When ajax supports POST file uploads, I might consider the extinction of iframe.
by paulhauggis 15y ago
When 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