New to Kendo UI for jQuery? Start a free 30-day trial

Focus

methods

Sets focus to the PromptBox input element.

<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>
Not finding the help you need?
Contact Support