madeinstefano/Decimal-Mask — Issue #1: Overfull mask breaks change event
Author: brunns
Created: 2012-03-02 14:24:21+00:00
State: open

If an input element has both an input mask and a jQuery change attached to it, both are applied fine unless the user has entered too many decimal digits, at which time the change event ceases to fire. An example:

test.html:
```html

Input:

```

test.js
```javascript
$(function() {
$('#fred').decimalMask("999");
$('#fred').change(function(event) {
alert('hello!');
});
});
```

If you type 3 digits and exit the input, you see the alert. If you type 4 digits, you don't.