$(document).ready(function() { 
    $('.focus input').focus(function() {  
        if (this.value == this.defaultValue){  
            this.value = '';  
        }  
        if(this.value != this.defaultValue){  
            this.select();  
        }  
    });  
    $('.focus input').blur(function() {    
        if (this.value == ''){  
            this.value = (this.defaultValue ? this.defaultValue : '');  
        }  
    });  
});

