Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- var val;
- $(".txt-mini, .txt-small").focus(function(){
- val = $(this).attr("value");
- $(this).attr("value", "");
- }).blur(function(){
- if $(this).attr("value").length == 0{
- $(this).attr("value", val);
- }
- });
- });
Add Comment
Please, Sign In to add comment