会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
游鱼博客
博客园
首页
订阅
管理
2013年3月15日
文本框输入内容提示消失的两种实现
摘要: 第一种方法:基于HTML5 input标签的新特性 - placeholder 。另外,x-webkit-speech 属性可以实现语音输入功能。1 <div><input type="email" name="email" spellcheck="false" placeholder="邮 箱" autofocus tabindex="1" x-webkit-speech></div>2 <div><input type="pas
阅读全文
posted @ 2013-03-15 14:22 Jarno
阅读(500)
评论(2)
推荐(0)
编辑
公告