简体   繁体   中英

Is it possible ajax upload progress bar in IE without flash?

So all solutions I have found uses flash for uploading files, or don't show progress bar in IE (7-8).

There is no event "progress" in MSDN documentation for XMLHTTPRequest. Is it possible at all?

Thank you.

You can create simple HTML Progress bar without using Flash. Infact you can see live examples

in many sites. In Java platform, you may use Apache's common.fileupload library where you get

a progress listener interface, which you can call using AJAX. AJAX will get the amount of

bytes in total and uploaded. You can use javascript to update the progress bar easily.

The complete code list can be found on Apache's fileupload's homepage.

For PHP, you need to have some third parties installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM