close modal window

 2 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Ragu Raghavan
Veteran Member
Posts: 477
Veteran Member
I have a custom form, that on a certain condtion, opens another form. After the users are done with this called form and push a biutton, I need to close it, so user gets back to the calling form.

I tried window.close()
Does not seem to work. What is the syntax ? Thanks.

Ragu
Robert Spurr
Veteran Member
Posts: 130
Veteran Member
I believe what you are looking for is (portalWnd.close()
Ragu Raghavan
Veteran Member
Posts: 477
Veteran Member
Thank you Robert. Exactly what I was looking for. Much appreciated.