Forum Discussion
IsraelRodriguez
11 years agoCommunity Member
I'm trying to generate a certificate that contains the name of the student. I created a button that opens an html file with the certificate design, and the code I'm using is:
var player=window.opener.GetPlayer();
var learnerName=player.GetVar("newName");
document.write("
" +learnerName+ "
");
Yet, I'm getting undefined as a result. What am I doing wrong?