fire the 'input' event only for modern browsers.