I am making a simple website where we save something by email; i found out how to open the email, but i cant get it to email a specific thing.
this is my code:
var a = function(){
b = document.getElementById("email").value;
m = document.getElementById("Text").value;
window.open("mailto:"+b);
};
I'm trying to make it so it emails m as the body.