function shouldUseChangeEvent(elem) {
  return (
    elem.nodeName === 'SELECT' ||
    (elem.nodeName === 'INPUT' && elem.type === 'file')
  );
}
(For old IE.) Replacement getter/setter for the `value` property that gets
set on the active element.