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

SetOptions

methods

Sets the options of the PromptBox.

Parameters:optionsObject

The configuration options to set.

<div id="promptbox"></div>
<button id="update">Update Options</button>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
    placeholder: "Original placeholder..."
}).data("kendoPromptBox");

$("#update").click(function() {
    promptbox.setOptions({
        placeholder: "Updated placeholder!",
        mode: "multi",
        rows: 3
    });
});
</script>
Not finding the help you need?
Contact Support