How would I add var bob to the body of this email?
var bob;
function sendMail() {
var link = "ma开发者_JS百科ilto:YourEmailHere"
+ "?cc="
+ "&subject=App Build Link Buit With MWFPRO's App Build Tool"
+ "&body=Hi"
;
window.location.href = link;
}
var name = "Bob";
function sendMail() {
var link = "mailto:YourEmailHere"
+ "?cc="
+ "&subject=App Build Link Buit With MWFPRO's App Build Tool"
+ "&body=Hi " + name + ",";
;
精彩评论