Hi, help please javascript people. Man I’ve been looking all day again after several days with no answer to this problem. Emails seem to only open in new windows when used with a href on text or images only. I am trying to open an email in a new window using a button or submit button instead because I would rather use a button instead of the others. Can’t find anything to help me.
If javascript is the only way I’ll take it. What happens is the email opens but the page it was launched from disappears. I would like them both to remain so that when the email is sent it is easy to find the last page again. I tried the following using onclick but once again won’t open in a new window. Even if you have some sort of code that sends me back to a certain page when the email is sent, would work too. The following example is an example only and I don’t need to use it, doesn’t open a new window anyway, will try anything. Thanks a lot!
<form onclick=”NewWin=window.open(‘mailto:myemailaddress@myemailaddress’,’Newpagename’);” type=”submit” /></form>