add oninput event handle