I have code that opens up a child window from a main window to collect some information from a user in order to do a db lookup using xmlhttp request. Everything works fine and the result is returned and processed. However, the last line of my function is
[CODE]window.close();
but this is [B]not closing the window in Netscape 7[B]As soon as I click anywhere on the child window, the window is then closed
[CODE]window.focus();
before the call to
[CODE]window.close()
, but that did not help. I even tried using the this keyword
[CODE]this.window.focus();
this.window.close();
before all calls to the window object, but that did not help either.
Does anyone have any suggestions? I have never seen this before, and it seems like it is such a simple thing that I am trying to do.