Display end date in textbox with User Selected Start Date + 1 year using JavaScript -


for example user selects 27/01/2016, 'end date' text box display 27/01/2017 un-editable. preferably without using jquerydate function

a solution, have 2 date inputs.

the first 1 used user select date. 1 disapears once user select date.

the second 1 invisble , readonly. once user has selected date, 1 initiated date + 1y , displayed.

you can use simple javascript add + 1, see date javascript object


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

How to merge four videos on one screen with ffmpeg -