why doesnt the following code work? im trying to close a popup window after sending a form to email.
<form name="form1" method="post" action="mailto:test@test.com" onSubmit="window.close()" enctype="text/plain" >
<form name="form1" method="post" action="mailto:test@test.com" onSubmit="window.close()" enctype="text/plain" >