I do not get any text in the console when previewing - what am I doing wrong?
$
w.onReady(function () {
//TODO: write your page related code here…
console.log(“text”);
});
Hi,
Just making sure it’s not a copy-paste issue with the forum - in your actual code, the “$” and “w” need to be on the same line, meaning this should work:
$w.onReady(function () {
//TODO: write your page related code here...
console.log("text");
});
If it doesn’t work, please add a screenshot of your code and also what happens in preview.
Thanks!