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

Selecting kendoComboBox text

1 Answer 274 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 10 Jan 2013, 10:51 AM
Hi, 

I would like to programatically select the text of a combobox, so the user can write and get suggestions without having to delete the content of the combobox manually. Is there a way to do this? 

Thank you very much :)

1 Answer, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 10 Jan 2013, 03:19 PM
I found the solution by myself, the following can be achieved by: 

$("#objectifs").data("kendoComboBox").input.select();
$("#objectifs").data("kendoComboBox").input.val("");
Tags
ComboBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Share this question
or