Simple PopUp Close Window after Saving
cloakedJul 29 2008 — edited Sep 3 2008Greetings,
(I did some seaching on the forum and didn't find a solution.)
I have a PopUp window (called with the popUp2() function) which I would like to have close when a person clicks the save button in the PopUp, therefore only showing the main page.
(I have an application that the user can enter general comments in. They want a window to pop up for the entry of their comment(s) and close after they enter and save them. Automatically 'returning' to the main page they were on. When they click the Save button it simply saves their comments into a comment table that is associated with the main tables of the application.)
How is it best to close the PopUp window in the scenario I described? A DML process is saving the changes. I assume that's a server process, so javascript to close the window won't work there. I was gonna add a branch to close the window, but branches are server side too.
Not sure how to best go about closing the window after table changes are saved. I bet it's something simple, but I'm not seeing it. :-)
Thanks, Tony