mercredi 25 février 2015

Set values in input type date and time in javascript

I have 2 input fields :


Date:



<input type="date" id="currentDate">


Time:



<input type="time" id="currentTime" >


Just trying these new features of html5. But I am having hard time setting values in these fields through javascript.


Aucun commentaire:

Enregistrer un commentaire