Show pop up message while document upload in process

Posted on 2003-02-26
Medium Priority
Last Modified: 2013-11-28
I am using JspSmartUpload Component, for file upload.
if i upload some large file it is taking while to upload, so mean while i want to show a pop up message saying that Uploading is under progress and a dotted ...........or a square boxes, i know with a javascript it is possible but how to show that pop up if it is taking more time and for some files it will be fraction of a second, so the pop up message should close after upload is down complete.
As soon as upload is complete ishould close this pop up, the pop up should stay until upload completes, i have a javascript which does only 5 or 6 seconds .....wait than closes the pop up message.
Any help greatly appreciated.


Question by:vpenta
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 14

Expert Comment

ID: 8029281
when use click upload button, fire a javascript to change your page content to show waiting message, then submit the form.

Author Comment

ID: 8029535
Do you have any sample code for it, didn't get you properly.

LVL 14

Accepted Solution

kennethxu earned 80 total points
ID: 8030404
this is a very simple example to illustrate the idea, it runs on IE:

<FORM ENCTYPE="multipart/form-data" ACTION="upload.jsp" METHOD=POST>
    File to process: <INPUT NAME="userfile1" TYPE="file">
    <INPUT TYPE="submit" VALUE="Send File" onclick="aaa.style.visibility='visible'">
<div id="aaa" style="visibility:hidden">please wait</div>

the detail of how to show and hide div tag on all version of browser can be found here:
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 8030504
Cool, Your GR8 !!!!!

Author Comment

ID: 8030535
kennethxu, will it works in Netscape ?

LVL 14

Expert Comment

ID: 8030658
it don't think it works for netscape, the link i provided have the detail of how to make this work with netscape.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Online promotion is consistently becoming more important for all types of businesses. From Facebook ads to search engines to YouTube videos, there are all sorts of channels that can effectively be used to promote a business or product. But how shoul…
There is a massive demand for content on the web right now, and it doesn't look like it's going to stop any time soon. But, if you are running a business blog, it's not just enough to offer your audience lots of content. It needs to be high-quality…
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses

770 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