Keyboard events are pretty standard in web development. A special event type, EV_SYN, is used to separate input events into packets of input data changes occurring at the same moment in time. One of the many new input types that HTML5 introduced is the date input type which, in theory, should allow a developer to provide the user with a simple, usable, recognisable method of entering a date on a web page. The input event fires whenever the user has modified the data of the control. The difference is that the oninput event occurs immediately after the value of an element has changed, while onchange occurs when the element loses focus, after the content has been changed. Next Page . Event: 支持的 HTML 标签: , , 和