Upload files better with AJAX from web page iframe Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: How to stop using iFrame hacks to upload files with AJAX.nnUploading files with AJAX used to require you to use iFrames to avoid a page refresh. A pretty big hack right? However, two new technologies have made it better; WebSockets and XHR2.nnI will show you how bad the iframe hack was, how to use the new and better ways, and which browsers support them.nnLasse Jul-LarsennnDeveloper at Enonic by day, web standards enthusiast by night.
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)