Skip to content

crpahl/j-drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

j-drop

A simple HTML5 file drag and drop plugin. Creates a drag and drop area around a file input:

<input id="file-drop" type="file" name="imageUpload" />

A drag and drop area can be initialized with the following invocation:

$("#file-drop").dragAndDrop();

If you need to access the file you can do it through the public accessor:

var dragAndDrop = $("#file-drop").dragAndDrop();
...
dragAndDrop.dropFile;

About

HTML5 file drag and drop jQuery plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published