Javascript + iframe help needed
October 15, 2009 12:00 AM
I see something similar there, but not quite what I'm after. Let me simply the problem as much as possible...
Starting a new Lectora file with 1 page, I add a variable "MyVar" set initially to 0.
I add an action to the page:
On: show
Action: Modify Variable
Target: MyVar
Value:
Modification Type: Add to Variable
I have a simple external HTML object:
And when I run in browser I get the alert box saying "[object Object]".
If I change the javascript to "alert(VarMyVar.value)" it changes to "undefined".
What am I missing?
Discussions have been disabled for this post