Using JavaScript to Email and Print

Jul 31, 2023

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.

2 Replies