Async Uploader

联合创作 · 2023-10-02 14:07

AsyncUploader is a way for webdevelopers who use jQuery, to implement aynchronous uploading to their sites. This is done in three easy steps.

  • Including the jquery.asyncUploader.js in your html file.
  • Create a form field with file upload capeabilities.
  • Setup the plugin.

Create a simple form, with a filebrowser field and a submit button (in this example the id of the submit button is uploadFileButton).

In the header of your HTML file you setup the asyncUploader with something like this:

$(document).ready(function(){
$("#myForm").handleUpload({
submitButtonId: "uploadFileButton",
fileHandlerUrl: "fileThatShouldProcess.php (.asp/.jsp)",
printTxtIn: "uploadText"
});
});

I will no longer be working on this project. Do what you want with it =)

浏览 9
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报