Set focus on parent form field upon child close
Posted on 2003-02-28
I've created a form that generates a conditional popup with a "Close" button. When I click close, I want the popup to close and the focus to be set on a particular control on the parent form. The best I seem to be able to do is return focus to the parent window, but I can't figure out the proper commands/syntax to set the focus in any of the form controls in the parent window. Clicking the Close button calls the following function:
I need to set focus to window.document.Form1.Q9.