This example uses the HTML DOM to assign an "oninput" event to an input element.
Write something in the text field to trigger a function.