Click here to show or hide the menubar.

Close popup Blork window on Submit


I'm working on a popup window that's launched from the Blork bookmarklet.

I just learned how to get the window to close after the user presses Submit.

Return a script in the body of the html that closes the window:

<script>window.close();</script>.

Works like a charm.

One part changes, radio2suite.main.

It sets a new flag, pta^.radio2.flSubmitButton, if the user clicked Submit.


Posted on Monday, August 15, 2011 at 6:02 PM by Dave Winer.