I see this all over the web, but was wondering if anyone has the JavaScript code for the EASIEST way to show input value on blur, but hide in on focus.
The simplest approach I know of is the following:
<input name="tb" type="text" value="some text" onblur="if (this.value=='') this.value = 'some text'" onfocus="if (this.value=='some text') this.value = ''" />