The file should be uploaded in the background via Ajax or Iframes. I should be able to detect via javascript when the upload has completed, so I can hide the loading graphic and redirect the user to a new URL. Using Jquery is fine.
+4
A:
Check out jQuery Uploadify
EDIT: There's also a similar question: how-to-upload-file-jquery - you could display the graphic after the upload button has been clicked and hide in the success/onerror function callback.
Jose Basilio
2009-05-06 21:13:02
I'm having troubles getting Uploadify to work with CodeIgniter. It always gives me an I/O error. Do you know how to make it work with Codeigniter?
Click Upvote
2009-05-06 22:03:08
I have't used it with CodeIgniter, but there are some posts on that: http://codeigniter.com/forums/viewthread/109751/#554977
Jose Basilio
2009-05-06 22:10:32
A:
The jquery Form Plugin is capiable of doing Ajax upload (using an iframe i believe). It won't help you out directly with showing/hiding an loading image, but it has the appropriate events so you know when the upload starts and finishes.
Corey Downie
2009-05-06 21:15:22