Name: Anonymous 2009-04-12 4:54
does a simple javascript package exist for people who want to display a progress bar and update it with ajax or something?
doesn't have to be complicated, or update that often. a loop with a delay of 5 seconds calling a cgi script that outputs percentage for a process would be enough
for example a server side upload script could report the percentage uploaded in a cookie or a session variable on the server. if only it could get the complete size of the file in POST, i'm not sure you can?
then it would be a simple matter of calling a script that shows the session value and updating a javascript progress bar
but i don't know much about js, the most i've done in ajax is one of those web hosting whois scripts that suggests other domains
doesn't have to be complicated, or update that often. a loop with a delay of 5 seconds calling a cgi script that outputs percentage for a process would be enough
for example a server side upload script could report the percentage uploaded in a cookie or a session variable on the server. if only it could get the complete size of the file in POST, i'm not sure you can?
then it would be a simple matter of calling a script that shows the session value and updating a javascript progress bar
but i don't know much about js, the most i've done in ajax is one of those web hosting whois scripts that suggests other domains