The onchange Event

Enter your Good name sir:

When you leave the input field, a function is triggered which transforms the input text to upper case.

Great lets do it