Hello, I have installed the nodeJS application and it works great. I created a package with it for a widget. A simple one. When I add the widget to a creator page the JS won't run.
I also downloaded the JS SDK but wasn't sure where to put that. Does it get packaged together? Does it just sit on my machine and get referenced during packaging? Here is the simple widget I am trying to run:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="js/widgetsdk-min.js"></script>
<script type="text/javascript">
ZOHO.CREATOR.init()
.then(function(data) {
document.getElementByID("myNewTitle").innerHTML = "Welcome 3";
alert("test");
});
</script>
</head>
<body>
<h2 id="myNewTitle">Attempt 13</h2>
</body>
</html>