Link to home
Start Free TrialLog in
Avatar of Sam654
Sam654Flag for Australia

asked on

Close popup after agent finishes running

Notes app for the Web. An action opens a new browser window (popup style), the user selects an option by clicking a link. The link calls a Javascript function that gets the window.opener to run an agent and then runs another agent itself. I would like the newly opened popup window to close once its agent has finished running.

If I do self.close() at the end of the Javascript Function, the agent will not run. I've tried putting
Print "[javascript:window.close();]"
at the end of my agent too, no go.

Does this make sense, any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sam654

ASKER

Wow, wasn't expecting that to be such a tough question. Good work arounds, thanks.
You're welcome :-)