linuxnut
08-10-2003, 09:16 PM
I am trying to add a progress bar to a file upload feature in a perl application. I have recently downloaded a javascript progress bar. It says it can be controlled by ahref="javascript:incrCount(5)" Increase bar by 5%
or
script setCount(50) //set bar to 50%script
The second one only works after I click the above ahref link. Can someone show me an example of how to pass the setCount function a value using perl so it will update the progress bar? My plans are to have a small pop up window with a progress bar appear when you upload a file. I am still new to javascript, and seem to know just enough to be dangerous.
Thanks
Lee
or
script setCount(50) //set bar to 50%script
The second one only works after I click the above ahref link. Can someone show me an example of how to pass the setCount function a value using perl so it will update the progress bar? My plans are to have a small pop up window with a progress bar appear when you upload a file. I am still new to javascript, and seem to know just enough to be dangerous.
Thanks
Lee