daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Change border and font and check for input on blur
  2.   .blur(function() {
  3.     $(this).addClass("blur");
  4.        
  5.     // Check to see if there's any text in the search input
  6.     if($(this).val("")) {
  7.     $(this).val("Search for...");
  8.     }
  9.     else {
  10.       $(this).val("");
  11.  `  }
  12.   }).blur();
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