compatible with ie the oninput event