Hello, This is not directly related to MochiKit, but I think you can use something like parent.opener to refer to the parent window and call stuff defined there. This link might help: http://www.captain.at/howto-ajax-parent-opener-window-close-error.php
As for the other thing, callLater might help - but I suggest Googling: http://www.google.com/search?q=close+popup+after+submitting Arnar On 2/16/07, Torstein <[EMAIL PROTECTED]> wrote: > > I'm trying to use a popup window with a form and i want to run some > scripts on this window > > Is it possible to make the child window send some kinda signal. Loaded > for > instance. So that one could connect to the window and wait for this > signal? > > I also have a problem with a popup form. When the form in the popup > window is submited, how can I both close the popup window and submit > the form? > > Thanks > > Torstein > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---