$ 0 0 <div class="comment-right-col"> <div>hi,i have the following:ScriptManager.RegisterStartupScript(Page, Page.GetType(), "closeWindow", "submitWindow();", true); DoSomeMethod();javascript will close the window but the windows is closed after DoSomeMethod() is executed. what is the reason behind that? i cann't figure it out... function submitWindow() { window.close(); } i want to close the windows before DoSomeMethod() is executed...how can i do this?thanks
hi,
i have the following:
javascript will close the window but the windows is closed after DoSomeMethod() is executed. what is the reason behind that? i cann't figure it out...
i want to close the windows before DoSomeMethod() is executed...
how can i do this?
thanks