Guest User

Untitled

a guest
Jun 13th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  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();
Add Comment
Please, Sign In to add comment