Detecting when a called function has finsihed

K

Kevin

I have the a function which creates a table of search
results from a paramater passed from the page Request as
shown below..

<%
GetSearches(unescape(Request("serialNumber")))
%>

Is there a way to detect when this function has finished
execution as i want to page a page loader on the page
until all the HTML is build and ready for rendering?

I have the page loader in a div so when the above function
finishes i would like to disable or hide it via
Javascript. That bit is fine it's just the how to send a
call to the Javascript so the DIV can be hidden is the
problem!!

Thanks!
 
T

TomB

<%
Response.flush

GetSearches(unescapte(Request("serialNumber")))
%>
<script>
//Your script to hide the div, and display whatever
</script>
<%
Response.flush
%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top