如何在javascript,php,jquery中使用语音命令导航页面[关闭]

I want to use a voice command to navigate between webpage. I want something for example if I say "1" from the microphone it will direct me to "exp.php" and if i say "2" it will take me to index.php. I have to idea how to come up with that. Need your help. Thanks in advance

If I'm not wrong, you can do this only on Chrome 25+ right now using the Web Speech API. Check out the demonstration here:

https://www.google.com/intl/en/chrome/demos/speech.html