Is it possible to use jquery .ajax() call to post a file to the server and setup a callback function when the upload is done?
Is it possible to get the progress of the uploading process(as GMail) using any possilbe method?
Asked
Active
Viewed 73 times
0

Bin Chen
- 61,507
- 53
- 142
- 183
2 Answers
1
not via ajax, but via hidden iframe check this out Gmail like file upload with jQuery
yes, you'll need custom logic on server side. GMail like file upload progress bar with GWT?
there are plenty of q&a's on stackoverflow on the topic try searching for them

Community
- 1
- 1

Alexander Taran
- 6,655
- 2
- 39
- 60
1
You cant do it natively in all browsers so you have to use a workaround like uploading through a hidden iframe, or using flash (at least for the browsers that dont support it). There are several jquery plugins that implement ajax uploads.

prodigitalson
- 60,050
- 10
- 100
- 114