I added the following code to a javascript trigger to get some familiarity with basics but when I publish and view the html5 output I get the alert but the background color of anything isn't changed.
What obvious thing am I missing ?
var player = GetPlayer(); document.bgColor = "#009900"; alert("Javascript Executed");
Hi, Michael -- Thanks so much for reaching out! Unfortunately, we are not able to assist with JS coding support, but in case you'd like to have it handy, here is our JavaScript Best Practices and Examples sheet. Hopefully one of the JS gurus in the community can take a look and identify where the issue is taking place. :)
1 Reply
Hi, Michael -- Thanks so much for reaching out! Unfortunately, we are not able to assist with JS coding support, but in case you'd like to have it handy, here is our JavaScript Best Practices and Examples sheet. Hopefully one of the JS gurus in the community can take a look and identify where the issue is taking place. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.