This example works in DOM-compliant browsers though no text will appear in the textbox.