How to send msg.payload
from function node(tool) to template node(html)?
<html>
<head>
<script type="text/javascript">
// function test() {
// document.getElementById("test1").innerHTML = msg.payload;
// }
</script>
</head>
<body onload="test()">
<h1 id="test1">{{msg.payload}}</h1>
</body>