Forum Discussion
Using JavaScript to Email and Print
Hello,
I am trying to execute JavaScript when a learner clicks on the relevant buttons at the end of a course so either their default mail or printer opens with prefilled information. I have done this in other courses and not had any issues, but for some reason now I do. When I click on either of the buttons nothing happens.
I have attached a basic version of my courses completion page and if someone could have a look to see where I am going wrong that would be great.
I have used a JavaScript checker and the one thing that comes up all the time is that 'GetPlayer' is not defined. this is amongst a few other things.
Thank you in advanced.
- SarahHodgeFormer Staff
Hey Daniel! Sorry it's not working. I'm not all that familiar with javascript, so hopefully someone in the community might have some tips to share. 🤞
- DanielKemp-4d4dCommunity Member
Thank You Sarah,
I had to do a lot of googling but I have been able to work it out.
Thank you again for your reply