Q: What have they done to Javascript?
I've developed a good number of widgets for my iBooks using first Dashcode and now iAd Producer. Since upgrading to iAd Producer 5 I'm seeing some strange behavior. Possibly my original code but I don't know. I'm not sure how to ask for help. Code that worked before would run OK in Preview but after editing and even after restoring it doesn't work in Preview. The section that is giving me problems for now are within if statements. I have input from buttons determine the path to follow. I have answers output to text fields but they become empty.
Reading buttons with
if(this.outlets.select1.selected)
Setting output fileds with
this.outlets.aLabel.text = $a;
I'm able to set output fields but somewhere in the process the code gets lost and $a is empty instead of the expected.
Sorry I'm not able to be clearer
Any thoughts/comments/suggestions.
Thanks, David
Posted on Oct 19, 2014 11:04 AM
$a? Are you using jquery? Did you include it? Are there errors in the console?
-Mark
Posted on Oct 19, 2014 2:31 PM