This example demonstrates how to assign an "onfocusin" event to an input element.

Enter your name:

Note: Firefox does not support the onfocusin event.