modify variable in html external object

rupertab
rupertab Community Member Posts: 61
yay!!You are absolutely right Sbelzer thanks a lot. A word to anybody wanting to use the external html object and then use the modified variables back in lectora. USE THE TRIVANTIS GET AND SET SYNTAX. It just doesn't work otherwise, in my experience. Obviously I was never using the simple example above but for anybody not of a programming mind like myself here is what I used and you can then use the variable correct_questions3 back in Lectora no probs.Thanks again.function roundmeoff(){var roundedoffvar = Math.round(Varcorrect_questions2.getValue());Varcorrect_questions3.set(roundedoffvar);}