When you leave the input field, a function is triggered which transforms the input text to upper case.
Note: Firefox does not support the onfocusout event.