Skip to content

aheinze/ajaxupload.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ajaxupload.js

jQuery plugin to handle ajax forms and uploads

Usage

// ajaxify a form (also <input type="file">)

$("form").ajaxform({
    // events
    "loadstart": function(){},
    "load": function(){},
    "loadend": function(){},
    "progress": function(){},
    "complete": function(){},
    "readystatechange": function(){}
});

// enable an element to upload files on drag'n drop

$("#myelement").uploadOnDrag({
    "action": '',
    "single": false,
    "method": 'POST',
    "params": {},

    // events
    "before": function(options){},
    "loadstart": function(){},
    "load": function(){},
    "loadend": function(){},
    "progress": function(){},
    "complete": function(){},
    "allcomplete": function(){},
    "readystatechange": function(){}
});

About

jQuery plugin to handle ajax forms and uploads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published