簡體   English   中英

如何在同一個網頁中使用多個語音轉文本功能? (ASP.NET,Javascript)

[英]How can I use more than one speech to text function in the same web page? (ASP.NET, Javascript)

我必須在同一個網頁中提供三個語音啟用按鈕。 我可以為這三個按鈕提供語音啟用功能,但響應僅出現在一個文本框上。

 <span id='message' hidden></span>
   Month : <input type="text" name="monthStart" id="month">
   <button type="button" class="button-speaker"> </button>

   <span id='message' hidden></span>
   Month : <input type="text" name="monthEnd " id="month">
   <button type="button" class="button-speaker"> </button>

在基本文本框 id 上調整不同的 id 和發送值。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM