How to stop using iFrame hacks to upload files with AJAX.

Uploading 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.

I will show you how bad the iframe hack was, how to use the new and better ways, and which browsers support them.

Lasse Jul-Larsen

Developer at Enonic by day, web standards enthusiast by night.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…