This is a migrated thread and some comments may be shown as answers.

voice Capture

1 Answer 143 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Troy Clemons
Top achievements
Rank 1
Troy Clemons asked on 30 Sep 2014, 01:20 PM
on mobile devices when I choose a text box to enter information I can choose the microphone over typing. this works great. I speak the data
goes into the textbox. the problem is with the autocomplete. typing the search function happens, talking the event is never fired.


any ideas.

thanks Troy

1 Answer, 1 is accepted

Sort by
0
Troy Clemons
Top achievements
Rank 1
answered on 30 Sep 2014, 03:25 PM
So I figured out how to do it.
button html code
<input type="text" oninput="TextChange(this)"  id="bookyear" style="width: 90%; margin-left: 25px; margin-right: 55px; border: none; background-color: white; color: black;" class="k-autocomplete" />

javascript to handle the TextChange(this)
function TextChange(tBox) {
            if (event.propertyName !== 'undefined' && tBox.value !== '') {
                //your code here
                //alert(tBox.value);
                var autocomplete = $("#bookyear").data("kendoAutoComplete");
                autocomplete.dataSource.read();
                autocomplete.search(tBox.value);
 
           }
        };







Tags
AutoComplete
Asked by
Troy Clemons
Top achievements
Rank 1
Answers by
Troy Clemons
Top achievements
Rank 1
Share this question
or