jquery: using two datepicker with two fields ( field 1 , field2 + 1 day ) like booking.com
问题 How r u? I have two datepickers with two fields I want when the user choosing (From) the second field ( TO ) will be next day . like booking.com for example: when the user choose From 01-01-2013 , directly the second field TO 02-01-2013 (next day) ... look at this picture for the form this is code of jquery: $(function() { $( "#from" ).datepicker({ defaultDate: "+1D", changeMonth: true, numberOfMonths: 1, dateFormat:"dd-mm-yy", minDate: "+1D", showOn: "button", buttonImage: "http://keith-wood