how can i write javascript code in asp  for showing a progress circle during page upload on click event of submission button

Posted on 2008-10-17
Last Modified: 2010-04-21
pls go to the url  for a nice understanding of problems
when i click on go button on search box page is redirect to search_result.asp but it take several times.
i want that when page upload then there should be a progress circle that shows the upload process of the page.
for this puppose i used the following code.

<!-- if using Classic ASP: -->
Response.Buffer = true

<!-- if using PHP: -->

<!-- this bit goes at the very top of the page: -->
<div id='interstitial'>
   <img src="LoadingAnimation.gif" width="50" height="50" alt="Loading ... Please wait... " />

<!-- This is for those times where you have to [asp: response.end] [php: exit(); ] for some reason-->
<script language="javascript">

<!-- if using Classic ASP: -->

<!-- if using PHP: -->

Insert your entire page contents here, including calls to the database

<!-- this bit goes at the very bottom of the page: -->
<script language="javascript">"none";

but prob is that circle starts on load event of search_result page. not on click event of GO button _click.
how can i use upper code on click event of button.
any other suggestion besides it.
any help will be appriciated.
Question by:psaini172000
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

Accepted Solution

mirzas earned 500 total points
ID: 22740934
you will need to trigger a client side java script to show the circle as the user click the go button.

Author Closing Comment

ID: 31507127
pls give the code in javascript to show the circle as the user click the go button.

Author Comment

ID: 22747415
this is not sufficient.
pls give complete solution

Author Comment

ID: 22747418
pls give complete solution

Featured Post

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!

Question has a verified solution.

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

Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

688 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