cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

Upload Ajax – 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.

upload-ajax

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

AJAX Chat By Blueimp

How To Add A “Load More Posts” Button In WordPress

Use Ajax to Save Changes in Contenteditable as JSON

1

Create AJAX Loading Animation with CSS3

1 Comment

  1. Wow is this a plugin or an application. I think this will be great on uploading your ajax file simultaneously its really great that you would save time uploading the files at the same time and thanks on the tips on how to use it, it really helped.