Computer Science, asked by htmllearner, 6 months ago

write a code for inserting calendar in form​

Answers

Answered by Rishigaming
1

Answer:

Input Date value Property

Set a date for a date field: getElementById("myDate"). value = "2014-02-09";

Get the date of a date field: var x = document. getElementById("myDate"). value;

An example that shows the difference between the defaultValue and valueproperty: var x = document. getElementById("myDate"); var defaultVal = x. defaultValue;

Similar questions