Edit this page

value String(default: "")

Specifies the value of the MaskedTextBox widget.

Example - specify value option

<input id="maskedtextbox" />
<script>
$("#maskedtextbox").kendoMaskedTextBox({
    mask: "(000) 000-0000",
    value: "(123) 456-7890"
});
</script>

Example - specify value option as a HTML attribute

<input id="maskedtextbox" value="(123) 456-7890" />
<script>
$("#maskedtextbox").kendoMaskedTextBox({
    mask: "(000) 000-0000"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy