input: Cross-browser compatibility