Skip to content

jQuery File Upload widget with progress bar, upload speed, elapsed & remaining time for jQuery.

Notifications You must be signed in to change notification settings

zuzpk/AssUploader-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AssUploader 2.0

jQuery File Upload widget with progress bar, upload speed, elapsed & remaining time for jQuery.

How to Use

  1. Add assuploader.css to your head
  2. Add HTML DIV element with id "assuploader"
  3. Add jQuery Reference
  4. Add assuploader.js reference
  5. Now Initialize the AssUploader Plugin
$(document).ready(function(){
	if($("#assuploader").size()>0){
		$("#assuploader").assuploader({
			formats: 'all', // Set to all or in an array like ['jpg','png','bmp'] to restrict to specific file formats
			maxsize: 2, // in MBs
			uploadpath: './files/', // Absolute Upload Directory Path
			uploadurl : 'assuploader.php', // Absolute path to assuploader.php file should not be on any other domain
			completeCallback: function(){}, // On Upload Complete Call back function
			errorCallback: function(){}, // on error call back function
			title: 'AssUploader' // Your Ass Upload Box Title
		});
	}
});

Here you go...
by: Kamran Wajdani

About

jQuery File Upload widget with progress bar, upload speed, elapsed & remaining time for jQuery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published