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 |
☛ Personalized Fabrication Options for Your Business Requirements
☛ Driving India's Economic Growth: The Role of Strategic Government Policies
☛ Affordability in Travel: The Cheapest Modes of Transportation in India
☛ Analyzing Social Media Strategies and Online Marketing Trends
☛ Understanding Leadership: Definition and Strategic Insights
☛ Freelance Jobs: An Overview
☛ Understanding Meteorology: The Science of Weather and Climate
☛ Diving into Oceanology: Careers in Marine Science
☛ Exploring Oceanography: The Science of the Seas
☛ The Intersection of Geology and Geography: An In-Depth Exploration