Edit This Code:
See Result »
This example uses the HTML DOM to assign an "onfocus" event to an input element.
Enter your name:
Result: