LMSSetValue is not defined

Hi all, 

 

i've a javascript code, and calculated the % of the advance in the course, but when i try to set this value in the cmi.score_raw the debug of chrome return the next error: LMSSetValue is not defined 

I writte this: LMSSetValue('cmi.score_raw', 'Porcentaje_Avanzado'); and i try with this LMSSetValue('cmi.core.score_raw', 'Porcentaje_Avanzado'); the variable Porcentaje_Avanzado i've the value.

Do you know how can insrt the value of Porcentaje_Avanzado into score_raw??

 

Thanks! 

Be the first to reply