Skip to content

Instantly share code, notes, and snippets.

@lilac
Last active December 22, 2015 03:19
Show Gist options
  • Save lilac/6409187 to your computer and use it in GitHub Desktop.
Save lilac/6409187 to your computer and use it in GitHub Desktop.
File upload with dropzone.js
<!DOCTYPE html>
<html>
<head>
<title>File Uploader</title>
<script src="js/dropzone.js"></script>
<link rel="stylesheet" type="text/css" href="css/dropzone.css">
</head>
<body>
<form action="/upload" class="dropzone dz-clickable" id="demo-upload">
<div class="dz-default dz-message"><span>Drop files here to upload</span></div>
<div class="fallback">
<input name="file" type="file" multiple />
</div>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment