I’d like to use the new HTML5 form-input-types like datetime and additionally offer an button to insert the current date and time as well a second button to clear that input. All of this works fine with the current solution. But Opera presents a very peculiar datetime-input, which I can’t clear, using $(inputElement).val(''); to empty the value (using jQuery).
Though this works with recent versions of Chromium (which has a simpler datetime-picker) and Firefox (which has no datetime-picker at all).
Has anyone a hint for me, on how to clear that input-field in Opera browser?
You’re right – it looks like this is not possible at the moment. It seems to be the “time” part of the datetime input that’s causing the problem. I’ve created a bug report so hopefully this will be addressed in a future version.