What's new

Web HTML Voice Search In a Form

  • Thread starter xMANU 4EVA TKx
  • Start date
  • Views 532
xMANU 4EVA TKx

xMANU 4EVA TKx

Oh hi
Messages
1,423
Reaction score
342
This will allow you to use your microphone instead of typing :thumbsup:

Demo

Browser support
e819b4df47375306d564a44ac9c7f6ec.png


The HTML.
HTML:
<form action="" method="post">
<input type="text" x-webkit-speech="" speech="" name="voice">
<input type="submit" name="submit">
</form>


The PHP to see that it works.
PHP:
<?php

if(isset($_POST['submit'])){

echo strip_tags($_POST['voice']);

}
?>
 
Last edited:
Top Bottom