daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.     var val;
  3.     $(".txt-mini, .txt-small").focus(function(){
  4.         val = $(this).attr("value");
  5.         $(this).attr("value", "");
  6.     }).blur(function(){
  7.         if $(this).attr("value").length == 0{
  8.             $(this).attr("value", val);
  9.         }
  10.     });
  11. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top