1

Upload a file using Ajax

http://feeds.dzone.com

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;
//]]>

Read »
Created by tuckerj Created 18 weeks 5 days ago
Category: Programming   Tags: