From within one php script, I call another via javascript as a popup window that I want to display a loader graphic while a file is sent (server-side) out its serial port to a local (to the server) piece of hardware. I want the graphic to be displayed to the user while the file loads and then have it replaced with an “Upload Done” message, at which point the user closes the pop up.
From what I’ve been able to figure out, I probably need to use AJAX in order to accomplish this as I notice the popup remains blank until the upload is finished.