I am making a simple website, but to save I am making it send some text to an email using javascript.
I want to make it send directly, but if there is no way to do that it would be fine if it sends by going to the email site.
My code so far looks like this:
var a = function(){
var b = document.getElementById("email").value;
document.getElementById("textarea").value.mailto=b;
};
I want the code to send the value of the textarea.