Zoumbatianos Kostas
06-09-2007, 05:15 PM
Hi all and thanks in advance.
What I am trying to do is call a big procedure on the server and not have the browser "stuck" until this procedure returns a result. I have a server side page that calls a big system procedure that takes some time to complete, until the procedure completes the page does not send any http response back to the browser. So when I ajax-call this page the javascript waits for it and can't do nothing in parallel. What I need is to show a "processing..." sign until the process is over. Does anyone have any ideas? Thanks.
my code is something like this:
<script>
blah blah
var a = open("url"); // Here is where it sticks and waits for the response
blah blah
</script>
What I am trying to do is call a big procedure on the server and not have the browser "stuck" until this procedure returns a result. I have a server side page that calls a big system procedure that takes some time to complete, until the procedure completes the page does not send any http response back to the browser. So when I ajax-call this page the javascript waits for it and can't do nothing in parallel. What I need is to show a "processing..." sign until the process is over. Does anyone have any ideas? Thanks.
my code is something like this:
<script>
blah blah
var a = open("url"); // Here is where it sticks and waits for the response
blah blah
</script>