Ok, I know that you cant close a window using JS unless your JS script also opened that window. So, is it possible to open a new window in place of the current window & then close it?
I have a button that onclick send some value to my DB once they hit ok on the popup, the window should close.
Any specific way this can be done?