Viewon background

trying to add “$(“body”).css(“background-color”, “#808080”);” to java script section,
but when trying emulate or upload , I get “Error in mainview. JavaScript section has syntax errors”

any suggestions?

try copying and pasting this in. I’m not sure why but some reason when I tried it with the code you sent, the quote marks seemed to get it messed up.

$(“body”).css(“background-color”, “#808080”);

first it didn’t work, then I changed the double quotes to single quotes. then it works!

1 Like