(elm, checkVal)
| 5524 | } |
| 5525 | |
| 5526 | function isDirty (elm, checkVal) { |
| 5527 | // return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value |
| 5528 | return document.activeElement !== elm && elm.value !== checkVal |
| 5529 | } |
| 5530 | |
| 5531 | function isInputChanged (elm, newVal) { |
| 5532 | var value = elm.value; |