return false in the event handler js code:
<input type="submit" value"ok" onclick=".............
window.open();
..........
............. return(false);">
> Hi all,
>
> I have a simple login form. When the user clicks the submit button, I
> want to open up a new window using javascript. This window will have no
> back button etc for the user to play around with.
> This works fine, I get my window okay and it displays properly, the
> problem is it still displays a duplicate in the original browser window?
> Does anyone know how to stop this?
>
> Thanks, Joel.