Setting an HTML text input box's “default” value. Revert the value when clicking ESC
问题 When a web form is written to the browser, the browsers remembers what the initial values are of a text INPUT box. ie. when it receives HTML like this: <input type="text" value="something"> The browser remembers "something" as the initial/default value. When the user starts typing over it, then hits ESC, the browser reverts the field to the initial value (or blank if it was initially blank of course). However, when creating a text input box programatically, hitting ESC always seems to blank