Lloyd Lloyd - 2 months ago 35
ASP.NET (C#) Question

How to add x-webkit-speech tag to ASP: TextBox

I would like to add the x-webkit-speech attribute to input boxes on my ASP.net site. How would I add the attribute x-webkit-speech to an

<input id="uxTextInput" value="" x-webkit-speech>

Answer
uxTextInput.Attributes.Add("x-webkit-speech", "x-webkit-speech");

web-kit should recognize that