This code is categorised as Ajax because it "fits within my definition of Ajax" as explained from the Ajax File Upload [openjs.com] article.
File upload
// function init() {
document.getElementById('file_upload_form').onsubmit=function() {
//'upload_target' is the name of the iframe
document.getElementById('file_upload_form').target = 'upload_target';
}
}
window.onload=init;
//]]>

