Skip to content
Advertisement

HTML datetime-local change event?

Is there a way to handle “datetime-selection” event with <input type='datetime-local'> control?

onchange, onselect and oninput does not work for me.

Advertisement

Answer

(In chrome) the onchange event triggers when the field is completely filled

Also have a read of Why is HTML5 input type datetime removed from browsers already supporting it?

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement