This example uses the HTML DOM to assign an "onfocusin" event to an input element.
Note: This example may not work as expected in Chrome, Safari and Opera 15+.