摘要: Google搜索的语音输入功能:1. 检测浏览器是否支持if (document.createElement("input").webkitSpeech === undefined) { alert("Speech input is not supported in your browser.");} 2. 下面说下怎么实现,其实很简单。<input type="text" x-webkit-speech /> 就一句(so high),3. 当然还有别的属性可以添加:lang设置语言种类:<input type=& 阅读全文
posted @ 2012-05-23 11:15 樱色布 阅读(582) 评论(0) 推荐(0) 编辑