$('.qt_ser_text').bind({
focus:function(){
if (this.value == this.defaultValue){
this.value="";
}
$(".qt_ser_text").css("color","#333");
},
blur:function(){
if (this.value == ""){
this.value = this.defaultValue;
}
$(".qt_ser_text").css("color","");
}
});
<input type="text" value="搜索您感興趣的保留域名" class="qt_ser_text" name="domainName"/>