Skip to content

Instantly share code, notes, and snippets.

@gsiegman
Created July 23, 2012 01:54
Show Gist options
  • Save gsiegman/3161649 to your computer and use it in GitHub Desktop.
Save gsiegman/3161649 to your computer and use it in GitHub Desktop.
*sobs*
<input name="" type="text" class="inputbox" value="Search" onblur=
"this.value=(this.value=='') ? 'Search' : this.value;" onfocus=
"this.value=(this.value=='Search') ? '' : this.value;" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment