I'm redirecting to a page that I need to open in a new window. I need the redirect page to close when the window opens. I've tried window.location and window.open, but the redirect page stays open in the background. How do I get it to close automatically after it redirects. Thanks.

I cannot use a regular HTML target=new or target=window for this. Have to use Javascript for this.