Return the appropriate events for `<input>` or `<textarea>` modifications depending on the browser.