I am using a mailto: filled in JavaScript to send information throughout my web application, but everytime a user presses the Send button, it opens a new t
mailto:
The window.location.href solution by AmShaegar works pretty well but it caused side effect in a complex application I have been developping.
I finally came up with this solution one might be interested in:
$('').appendTo('body').css("display", "none");
See this plunker: http://plnkr.co/edit/J0LvQU?p=preview