My operation takes long time to finish.
//do somethin if something executed successfully then close window. but be sure .
<a href="#" onclick="doOperation();">Do Operation Then Close Window</a>
How can i be sure is my operation finished.
Thanks. Please Help.