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 |
☛ How to Choose the Right Divorce Lawyer for Your Case
☛ Restaurants With Free Food Delivery
☛ Eleven incredible and unimaginable truths of Kashi Vishwanath Temple
☛ Difference between Raksha Bandhan and Bhai Dooj
☛ Why do we celebrate bhai dooj?
☛ What Are The Top Engine Maintenance Tips?
☛ The Impact of Cryptocurrencies on Traditional Finance Systems
☛ How to compare two dates in PHP
☛ Why Should You Outsource SEO Services?
☛ Limousine Safety Tips for a Night Out on the Town