File upload with jQuery plugin – Simple Upload

We use Simple Upload jQuery plugin to upload the file using the plugin. Here is full code sample example with the plugin.

How to install plugin in your project

How to use plugin:

First, bind the plugin to your HTML file element.

Here are some properties of the plugin which we can use with simple upload.

allowedExts:  [“jpg”, “jpeg”, “jpe”, “jif”, “jfif”, “jfi”, “png”, “gif”],

allowedTypes: [“image/pjpeg”, “image/jpeg”, “image/png”, “image/x-png”, “image/gif”, “image/x-gif”],

maxFileSize: 10000000, //10MB in bytes

start: function(){},

progress: function(){},

success: function(){},

error: function(){},

cancel: function(){},

and read more here



Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Harinder Singh

Harinder Singh

My name is Harinder Singh and I specialize in Software industry. I consider myself as a life learner. I love learning new concepts, embracing new ideas and reading and searching for innovation.