Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

jquery loader?

Hi, I have a php application where I use a form to upload a file to the server. The file upload can take anywhere between 20 to 40 secs. When the file is being uploaded I would like to display an ajax loader on the page to indicate the file transfer is taking place. Can someone let me know how this can be done? Thank you.

A
0
aej1973
Asked:
aej1973
1 Solution
 
leakim971PluritechnicianCommented:
Check this and its note about APC :
http://www.johnboy.com/php-upload-progress-bar/
0
 
Ramkisan JagtapLead DeveloperCommented:
0
 
mcnuteCommented:
I think what the author wants is just simple loader gif in place of the form.

$('#form_id').submit(function(e){
    
$(this).remove();
$('body').append('<div id="loader">File is being uploaded...</div>');

});

Open in new window

0
 
aej1973Author Commented:
mcnute, you are right! Thank you for all the other answers too, they were good.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now