Created
May 12, 2011 23:28
-
-
Save parrfolio/969671 to your computer and use it in GitHub Desktop.
Speech Input Attribute
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (document.createElement("input").webkitSpeech === undefined) { | |
alert("Speech input is not supported in your browser."); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- The x-webkit-speech attribute can be used on any HTML5 input element with a type of text, number, tel, or search. --> | |
<input type="text" x-webkit-speech /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment