<input type="text" value="请输入..." class="inp" onfocus="if(this.value=='请输入...'){this.value=''};this.style.color='#666';" onblur="if(this.value==''||this.value=='请输入...'){this.value='请输入...';this.style.color='#d2d1cf';}" />
<input type="text" value="请输入..." class="inp" onfocus="if(this.value=='请输入...'){this.value=''};this.style.color='#666';" onblur="if(this.value==''||this.value=='请输入...'){this.value='请输入...';this.style.color='#d2d1cf';}" />