cancel
Showing results for 
Search instead for 
Did you mean: 

button to close the current window on ITS

Former Member
0 Kudos

Hi, I have BSP's containing links to ITS. When users click on the link, I use the javascript function window.open() to open a new window. Now I would like to add a button on this window to close this window. I am using the function self.close() to do this, but it doesn't work, nothing happens. It works when I open a BSP with window.open() but not with ITS. The window can always be closed with the top right X button, but I would like to do better than this... Is there a way to achieve it ? We have ITS 6.20 patch level 17.

Accepted Solutions (0)

Answers (1)

Answers (1)

igor_vernelen3
Active Participant
0 Kudos

Hi,

Did you try window.close() instead of self.close ?

Regards,

Igor.

Former Member
0 Kudos

Hi Igor, yes I did but it did not work either. Thanks,

Mireille

athavanraja
Active Contributor
0 Kudos

do you see any javascript error message (yellow icon) at the status bar of the browser window,

Regards

Raja

Former Member
0 Kudos

No javascript error, just nothing happening... Thank you,

Mireille