change

This event is fired when the value of the maskedtextbox is changed.

Event Data

value – new value in the widget
old – old value in the widget

In this example, we get the new value, entered by the user:

<input id="maskedtextbox" />

<script type="text/javascript">
jQuery(function($) {
    $('#maskedtextbox').shieldMaskedTextBox({
        mask: "000,000.00$",
        value: "123,456.78$",
        events: {
            change: function (e) { 
                alert(e.value);
            }
        }
    });
});
</script>