简单提示效果:
<input runat="server" type="text" id="SelPerson" value="请填写名称" onfocus="if(this.value=='请填写名称'){this.value='';};" onblur="if(this.value==''){this.value=this.defaultValue;}" />
posted on 2013-10-25 09:45 乏mily 阅读(115) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 乏mily Powered by .NET 9.0 on Kubernetes