(elm, checkVal)
| 5966 | } |
| 5967 | |
| 5968 | function isDirty (elm, checkVal) { |
| 5969 | // return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value |
| 5970 | return document.activeElement !== elm && elm.value !== checkVal |
| 5971 | } |
| 5972 | |
| 5973 | function isInputChanged (elm, newVal) { |
| 5974 | var value = elm.value; |