How do I use the "mailto" function in JavaScript for a table containing product details
function SendEmail() {
var email = document.getElemenById("list").value;
window.location.href = "mailto:example@gmail.com?subject=enquiry &body=+ "email"";
}