Skip to content

Instantly share code, notes, and snippets.

@vikt82
Created March 11, 2015 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vikt82/c520544fda10367b1230 to your computer and use it in GitHub Desktop.
Save vikt82/c520544fda10367b1230 to your computer and use it in GitHub Desktop.
clear input
---------------------- Отчистка поля ввода ---------------------------------
<div class=""><input type="text" name="" value="Login..." class="f_input" onblur="if(this.value=='') this.value='Login...';" onfocus="if(this.value=='Login...') this.value='';" /></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment