Edit this page

raw

Gets the unmasked value of the MaskedTextBox.

Returns

String The raw value of the widget.

Example - get the raw value of the MaskedTextBox

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

var maskedtextbox = $("#maskedtextbox").data("kendoMaskedTextBox");

var raw = maskedtextbox.raw(); //the result value will be "123456"

console.log(raw);
</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