Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Change border and font and check for input on blur
- .blur(function() {
- $(this).addClass("blur");
- // Check to see if there's any text in the search input
- if($(this).val("")) {
- $(this).val("Search for...");
- }
- else {
- $(this).val("");
- ` }
- }).blur();
Add Comment
Please, Sign In to add comment