AJAX file upload - AJAX like in GMAIL



Ever wanted to upload files using AJAX like in GMAIL, without reloading the page? Now you can. Cross browser method to upload files using AJAX in only 1Kb of code.

You need to create a form with file fields you wish to upload and define “onsubmit” event. Look at the example below how to do that.

Tested in IE5.5+, FF1.0+, OP 8.0+

For more reading about “AJAX file upload - AJAX like in GMAIL”

ajax upload2 AJAX file upload   AJAX like in GMAIL

Share this tutorial:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Live
  • PlugIM
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • description
  • E-mail this story to a friend!
  • MisterWong
  • BlinkList
  • LinkedIn
  • MySpace
  • Print this article!
  • Yahoo! Buzz

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

About the Author

Adam has written 384 stories on this site.

Related Tutorials & Articles

Max’s AJAX File Uploader
Max’s AJAX file uploader is a simple and easy to use script, which allows you to upload files to your webserver without reloading the current page. During the upload an animated progress bar is shown. The server side is written in PHP. For demo and download “Max’s AJAX file uploader “ Share this tutorial: ...Read more
Multiple File Upload with Ajax
File uploading feature is common feature in web sites to place your data on web server. This file upload ajax script allow to upload multiple file at once. While uploading file user can also see the uploading status with the help of progress bar. For more details about “Multiple File Upload with Ajax” Why this script is better...Read more
Ajax Googiespell
Googiespell checker is a script for spelling checking, it support around 27 languages and having a user friendly interface. The hot features of googiespell are user friendly interface, cross browsers support including IE,mozilla,opera etc. According to http://orangoo.com following are the rich features of this script GoogieSpell features: -Support for around 27 languages -Well tested and works on IE 5.5, IE...Read more
Xupload - Advanced Upload Progress Bar
XUpload is an advanced upload progress bar indicator for web based file uploads written on Perl. XUpload lets you to accept file uploads on your website and shows upload progress bar which is showing upload progress in real-time. Upload progress bar could be shown in popup window or right on the upload page. It also shows...Read more
Ajax Tab Browser
The interactive tab browser powered by ajax is one of the best way to show images or contents under each tab without redirecting the user to another web page. This ajax based browser will give you the feeling like desktop solution and take less time to display content or image when user click on any tab....Read more

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

Copyright © 2010 Sooper Tutorials. All rights reserved. Powered by WordPress.org, Website by ISolution.org.