file upload progress bar javascript

Posted on 2007-07-20
Last Modified: 2008-01-09
I would like to build a progress bar for file uploads using java script, I searched experts exchange and found a question relating to and their style of file upload that displays graphical the percentage to completion, aswell as size uploaded/remaining and the time left.  The response was the link

I am using the LAMP configuration

I am guesing that the top part of the page goes into the html file that will be uploading the file and the bottom part of the code goes in to a file called progressbar.js, is that right?
How would I go about writing the form so that it calls the page that displays the progress of the file?
Question by:NevilleChinan
    LVL 75

    Accepted Solution

    You cannot use javascript alone to monitor a progress.
    You Either do a "Cylon" eyes back and forth until the program that receives the file tells you to stop OR you get a more sophisticated ajax progress bar that takes commands from the server
    LVL 7

    Expert Comment

    That mean you need to write some server side program to implement this.
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Specialist

    HTML5 development skills are critical to all developers. HTML5 is the foundation to almost any development process. That's why business, design studios, development shops and other organizations need HTML5 developers. Get your foot in the door as a HTML5 specialist.

    This article shows how to read a single webpage's HTML into a string variable, and it also shows how to automate a sequence so you can read and process a list of webpages.  I was tasked with reading and parsing a series of webpages to collect some s…
    Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now