Java scripting error

Aug 21, 2014

When I try to make a function I get the error "undefined" in fire bug

function myTest(){
var x = 1;
}

myTest();

That is all am trying to run and I just get an error please can some one explain (it happens for all function I try to make)

1 Reply
Nicole Legault

Hey Jacob!

Thanks for posting your question in the forums.


Although we don't provide support for Javascript code we do have the triggers that allow you to add Javascript so we have this page about Articulate Best Practices and Examples for Javascript.

And you might want to check out these past forum discussions from other users who used javascript:

Hope this helps a bit... Good Luck!

This discussion is closed. You can start a new discussion or contact Articulate Support.