cancel
Showing results for 
Search instead for 
Did you mean: 

Closing Browser Window

Former Member
0 Kudos

Does anyone know how I can programmatically close the browser window from an iView running on the portal? I recently got a requirement that adds a "Close" button to the main portal logon page. When the user clicks that button, it is supposed to close the browser window.

Any help would be greatly appreciated!

- Matt

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem is that you need to get the top window in order to close it properly.

Try the javascript code top.window.close()

Let me know if it works

Former Member
0 Kudos

Did you get the solution for this?