Vote count:
0
I use on-blur function to do the below execution :
window.setValue = function (val) {
document.querySelector('#placeholder').value = val;
}
This work on type="date" but I'm using datetime-local, the value ruined because of the formatting problem.
asked 19 secs ago
get datetime-local value to set to input
Aucun commentaire:
Enregistrer un commentaire