C
ckirchho
Hello,
I am working on some JavaScript, that amongst other things does
searches in an index. The search can take a couple of seconds, and I
would like to disable the form button that the user clicked to trigger
the search. In addition I would like an animated GIF to appear,
visualizing that a search process is ongoing.
My problem is: While the procedure that implements the search is
executed, the browser window is not refreshed. The button stays in
"down" mode, the gif freezes.
Is there some command I could insert in between my code statements
that lets the browser refresh it's window's contents?
Best regards,
Christian Kirchhoff
I am working on some JavaScript, that amongst other things does
searches in an index. The search can take a couple of seconds, and I
would like to disable the form button that the user clicked to trigger
the search. In addition I would like an animated GIF to appear,
visualizing that a search process is ongoing.
My problem is: While the procedure that implements the search is
executed, the browser window is not refreshed. The button stays in
"down" mode, the gif freezes.
Is there some command I could insert in between my code statements
that lets the browser refresh it's window's contents?
Best regards,
Christian Kirchhoff