Nadav S.
Nadav S.

Reputation: 2459

Speech recognition in a text area

I want to attach the webkit speech recognition plugin in a text area. What I currently have:

<input type="text" x-webkit-speech />

That works. But if I type this:

<textarea cols="88" rows="6" x-webkit-speech />

It doesn't work. Is there any way to do that? Maybe with jQuery?

Upvotes: 2

Views: 10584

Answers (2)

bretterer
bretterer

Reputation: 5781

Currently x-webkit-speech only works with input. There are some hacks that you can to so it appears that your textarea has x-webkit-speech. Basically you would have a input text and take that input and fill in the text area.

Upvotes: 0

Reza S
Reza S

Reputation: 9748

Have a look at this page They've demonstrated how you can do it

Upvotes: 7

Related Questions