I have a problem with closing a pop up window in safari browser. I have a OK button, onclick of the OK button the pop-up window should be closed. Script used in onclick is "{window.close();}". The window.close() function is not working in safari browser and its working fine in chrome and firefox.