I am using following code to print the text in html body i want that i have var which has value hello it should concatenate with the body text to show hi hello.
$("#commandEmail1").click(function() {
presenter.command("emailSend",{
"toEmail": "jani_06sw@yahoo.com",
"toName": "Jani",
"subject": "email test",
"body": "Single Attachment",
"bodyHtml":" Hi",
"attachments": [""]
}, status);
return false;
});
I want that hello should be with Hi like Hi hello so how may i concatenate that var to this function.
here is the js link
1 Answer