Send mail from outlook without open it
Try adding your self.close() to the onsubmit event handler in the form tag.
eg:
< form name="feebback" METHOD="post" ENCTYPE="text/plain" action="mailto:clueless@test.edu" onsubmit="self.close()">
However, have you opened a popup window which the form is displayed in? If not, using location.replace() would be a better alternative than trying to close the browser window.
eg:
< form name="feebback" METHOD="post" ENCTYPE="text/plain" action="mailto:clueless@test.edu" onsubmit="self.close()">
However, have you opened a popup window which the form is displayed in? If not, using location.replace() would be a better alternative than trying to close the browser window.
it was take a lot of time to find it, but it worked finally
ReplyDelete