Posted 2016-03-25Noteinput默认提示文字//input默认提示文字$('.input_text_val').bind({ focus:function(){ if (this.value == this.defaultValue){ this.value=""; } }, blur:function(){ if (this.value == ""){ this.value = this.defaultValue; } } })#js