( validate(this) ) {return true} else {return false}">
in function validate
the_Child = window.open('popup.htm','waitWinPop','height=10,width=260');
}
and where i need to close the popup.
<script language="_javascript_">
//alert("window is still open");
the_Child.close();
</script>
and this one doesn't close the popup as well.
thanks.
> I am having a weried error in my _javascript_.
>
> on my top of the page, I am opening a window popup, showing animated
> gif.
>
> then I am using CFFILE to upload the file and at the end of the page,
> I am closing the popup.
>
> somwhow popup is getting open, but its not closing.
>
> here is my code.
>
> <script language="_javascript_">
> window.open('anim.htm','waitWin','height=10,width=260');
> </script>
>
> then I am uploading the file. and at the end
>
> <script language="_javascript_">
> // alert("windows still open");
> waitWin.close();
> </script>
>
>
> if I take the comments out the alert is working, so it means that the
> script is running.
>
> i tried window.waitWin.close() and all other possiblities as well.
> please help
>
>
> Thanks,
> Asim
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

