1. 给input文本框添加灰色提示文字
<input type="text" value="服务名" onFocus="if(value==defaultValue){value='';this.style.color='#000'}"
onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999"/>
1. 给input文本框添加灰色提示文字
<input type="text" value="服务名" onFocus="if(value==defaultValue){value='';this.style.color='#000'}"
onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999"/>