Multiple File Uploads with Jquery

If you search online there are over a dozen sites and blogs offering ways for developers to allow multiple file uploads on a site.

I have tried the top 10 most offered solutions, and the best one I have found is on CodeProject here.

The code solution offered above is based on another developers open source solution by fyneworks here.  The CodeProject solution removes the excess code around the fyneworks code, allowing you to quickly, cleanly and easily integrate his code into your web page.

The CodeProject solution works in both webforms and MVC.  Two valuable options not explained in the CodeProject introduction is the maxlength and accept attributes below.

<input type="file" class="multi" maxlength="2"/>
<input type="file" class="multi" accept="gif|jpg"/>
This entry was posted in Technical and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s