I want to add number of days to particular date using javascript only example:
textbox1.text=10-04-2013
textbox2.text=30
textbox3.text=10-05-2013
I want to add number of days to particular date using javascript only example:
textbox1.text=10-04-2013
textbox2.text=30
textbox3.text=10-05-2013
You can use this
var yourDate= new Date();
var numberOfDaysToAdd = 6;
someDate.setDate(yourDate.getDate() + numberOfDaysToAdd);