I have an HTML link on my ASP.NET page. When the user clicks the link, an Outlook window will open. However, it changes the URL on my page also to mailto:[email protected]
.
How to stop it?
<a href="#"
onclick="window.open('mailto:[email protected]?Subject=upport','','200','200');"
style="color: White">Contact Support</a>
Don't do it in a window.open. Just show the link on the page, as a normal link, and Outlook will open in a new window anyway, because it's a different program.
How about this?
<a href="mailto:[email protected]?Subject=upport" style="color: White">Contact Support</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With