Skip to content Skip to sidebar Skip to footer

Open New Tab/window And Close Old One

Here is my current code, but the closeWindow function is executed before the new tab opens. $(document.body).append('