(elm, checkVal)
| 5518 | } |
| 5519 | |
| 5520 | function isDirty (elm, checkVal) { |
| 5521 | // return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value |
| 5522 | return document.activeElement !== elm && elm.value !== checkVal |
| 5523 | } |
| 5524 | |
| 5525 | function isInputChanged (elm, newVal) { |
| 5526 | var value = elm.value; |