setOptions

Sets the options of the PromptBox.

Parameters

options Object

The configuration options to set.

Example

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