how to create HTML table inside the script in javascript -
i have javascript api send email in can use html, creating table inside not working , tables not show. here code:
<script> $(document).ready(function(){ $("#commandemail1").click(function() { presenter.command("emailsend",{ "toemail": "imran.hussain@celeritas-solutions.com", "toname": "celeritas", "subject": "email test", "body": "single attachment", "bodyhtml":"<table width="200" border="1"><tr><td> </td><td> </td> </tr><tr> <td> </td><td> </td> </tr></table>", "attachments": [""] }); return false; }); }) </script>
use single quotes inside double quotes
"<table width='200'...
or can replace double quotes inside "
Comments
Post a Comment