The <progress> element just landed in Firefox Aurora (to be Firefox 6).
As its name indicate, this element can be used to give visual clues of anything in progress on a Web page:
- a set of ressources being downloaded,
- a file being uploaded,
- a computing Web Worker,
- a WebGL scene being initialized…
Following is a simple demonstration of how the progress element can be used in conjunction with the FileReader API to create an ajax file uploader.
Don’t forget to click on result to see the code in action.
About louisremi
Developer Relations Team, long time jQuery contributor and Open Web enthusiast. @louis_remi
10 comments