Adding one day to a date
$('.currentDate').change(function() {
var newDate = $('.currentDate').datepicker('getDate', '+1d');
newDate.setDate(newDate.getDate() +1);
$('.showNewDate').datepicker('setDate', newDate);
});
How to add a day to a date using jquery datepickerAdding one day to a date $('.currentDate').change(function() { var newDate = $('.currentDate').datepicker('getDate', '+1d'); $('.showNewDate').datepicker('setDate', newDate); |
||
Written By: Sophia Published in Jquery |
☛ Exploring Your Future with India's Top Astrologer
☛ How to choose the Perfect Electric Hydraulic Lift Table?
☛ What are the best beaches in the Florida Panhandle? How to get there
☛ The Science of Sweet Dreams: How Goose Down Pillows Enhance Sleep Quality
☛ Aor Supplements: A Natural Boost for Optimal Health
☛ Winter Boots - The Essential Footwear for Cold Weather
☛ Role Of Mobile Apps in Improving School Parent and Student Engagement
☛ Creating a Bright Green Sanctuary with Contemporary Eco-Friendly Lawn Equipment
☛ Renovating Your Office? 5 Must-Have Qualities in a Singapore Contractor
☛ How Electrolyte Tablets Aid Performance and Hydration