focus

Sets focus to the PromptBox input element.

Example

<div id="promptbox"></div>
<button id="focus-btn">Focus</button>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
    placeholder: "Click button to focus..."
}).data("kendoPromptBox");

$("#focus-btn").click(function() {
    promptbox.focus();
});
</script>
In this article
focus
Not finding the help you need?
Contact Support