es of
            };
            input.addEventListener("change", on_update);//confirmed with enter
            input.addEventListener("input", on_update);// while typing

            on_update(); // generate the initial value
        }
    </script>
</body>
</html>
