Forum Discussion
BastienMdard
10 years agoCommunity Member
Javascript to print and email notes
Hello,
I am trying to implement Stephanie's javascript method for the learner to be able to print and send his/her notes by email, but I am having some difficulties.
Basically, the print option ...
JoanneChen
9 years agoSuper Hero
Hi Curtis, I took a look at your story file and there are some problems in your JS code.
- You must have correct variable name in JS code. For example: your variable called "email" but you told JS code to execute "emailaddress". And JS can't find "emailaddress" so it fails.
- The symbols " and “ means different to a code. You have to use the symbol " in a code. (JS can recognize "Mes Actions" but not "Mes Actions“)
I also attached your story file with my modification as above.
JoanneChen
9 years agoSuper Hero
Hi Curtis, sorry, the content of repliment above should be for Bastien's file. and if you can share your stroy file, it will be easier for someone to give you feedback or find out what's wrong in your case.
Related Content
- 6 months ago
- 3 months ago
- 5 months ago