<input type='text' value="Friend's username" onfocus="if(this.value == 'Friend\'s username'){this.value = ''};" onblur="if(this.value == ''){this.value = 'Friend\'s username'}"/>
详细解决方案
点击输入框,默许内容清除.离开,恢复
热度:516 发布时间:2012-10-09 10:21:45.0
相关解决方案