Easy upload multiple file using ajax
Browsers force us to use file inputs (<input type=”file” />) for uploads, which are impossible to style. Moreover, form-based uploads look obsolete in modern web applications. We can use flash to solve this problem, but JavaScript works nice too.
AJAX Upload allows you to easily upload multiple files without refreshing the page and use any element to show file selection window. It works in all major browsers and doesn’t require any library to run. AJAX Upload doesn’t pollute the global namespace, and is tested with jQuery, Prototypejs.
For the server-side code it looks like the file is uploaded with the simple upload form, because of that you can use any language you want.
You can access the uploaded file with:
- PHP: $_FILES['userfile']
- Rails: params[:userfile]
How it works?
Plugin creates invisible file input on top of the button you provide, so when user clicks on your button the normal file selection window is shown. And after user selects a file, plugin submits form that contains file input to an iframe. So it isn’t true ajax upload, but brings same user experience.
Website: http://valums.com/ajax-upload/
Demo: http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm
License: MIT license
Related Posts :
This plugin uses XHR for uploading multiple files with progress-bar in FF3.6+, Safari4+, Chr ...
With this article, you will learn to develop an AJAXified multiple-file-upload form that uses m ...
AJAX-ZOOM is a powerful image zoom & pan gallery plugin based on jQuery and PHP. It’s a co ...
When you publish something online, there are not that many ways to determine whether people lik ...
Autocomplete an input field to enable users quickly finding and selecting some value, levera ...
Posted on Sunday, December 5th, 2010 at 9:21 am | Category: Ajax |
Make a Donation
Magazine of the week
Categories
- Adobe Photoshop Tutorials
- Ajax
- Articles
- Companies
- Corporate / Elegant
- CSS
- Designers Work
- Flash
- Fonts
- Freebies
- Freelance / Portfolios
- Galleries
- Graphic Art
- HTML
- HTML5
- Icons
- Identity
- Illustration
- Internet
- Java Script
- Jquery
- Magazines
- Marketing
- One Page Websites
- Photo Creativity
- Photoshop
- Print Design
- Stock Images
- Typography
- Vectors
- Video Tutorials
- Wordpress
- Wordpress Themes