会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ndxsdhy
快乐大杂烩
博客园
首页
新随笔
联系
管理
订阅
2011年7月28日
文本框获得焦点后文本框内的提示文本消失 失去焦点后如果没有输入再显示提示 转
摘要: 转自http://hi.baidu.com/five824"<input type="text" class="huise" name="txtSearchValue" id="txtSearchValue" value="请输入关键字" onfocus="if(this.value=='请输入关键字){this.value=''; this.className='heise';}" onblur="if(th
阅读全文
posted @ 2011-07-28 00:32 ndxsdhy
阅读(974)
评论(0)
推荐(0)
编辑
公告