if I put that script in the popup file then its just open and then closed

I have a index.cfm file, if the form submits, it popup the window and include upload.cfm

so, what I was doing is putting that script at the bottom of index.cfm coz if I put that script in popup.htm then popup just open and close in a second.


>>and where i need to close the popup.

<script language="_javascript_">
//alert("window is still open");
the_Child.close();
</script>

I suppose this script is in the pop up?
Then "the_Child" is not defined there, it is its parent's object.

Simply try self.close();
and it should close itself.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to