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

Suggested Solutions

Title # Comments Views Activity
Hide and Unhide Table 6 26
Convert php array to comma seperated list 19 35
Compiling PHP with Curl plus protocols 8 24
Group By Function Required in PDF Output 21 37
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 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