This example assigns an "onfocusout" event to an input element.
Write something in the input field and click outside the field to lose focus.