jQuery HTML5 Speech Input

后端 未结 1 1812
南笙
南笙 2020-12-17 01:47

I am trying to make jQuery make the search boxes on my page use x-webkit-speech and submit automatically.

The HTML would obviously be:



        
1条回答
  •  天命终不由人
    2020-12-17 02:23

    Try using bind:

    $(...).bind('webkitspeechchange', function() {
        // submit the form
    });
    

    0 讨论(0)
提交回复
热议问题