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