Forum Discussion
PaulDeHorn
4 years agoCommunity Member
How to Format the Body of an Email Using Java Script?
Does anyone know how to format the body of email using java script? (Or can point me to a good resource?)
Thanks to the E-Learning Hereos, I've been able to create a working prototype in SL 360 th...
PaulDeHorn
4 years agoCommunity Member
Thank you Walt, I appreciate the reply. I'll test it out.
PaulDeHorn
4 years agoCommunity Member
Hello Walt,
Well, your suggestion on adding spaces works, but I can't get line breaks to work. I learned that "\n" is a line break in JavaScript, but I can't get this to work. I tried using +\n and, +"\n", and just \n in between each player.GetVar just like the +" " but when I do I break the JavaScript and the email doesn't launch. I realize something must be wrong with the syntax I'm using?
If I wanted to it to look like this in the body of the email, do you know what the syntax should be for the JavaScript?
Risk1&2
Risk3&4
Thanks, - Paul
Related Content
- 10 months ago
- 3 months ago
- 1 year ago
- 9 months ago