Hi, I need some help please i am trying to add the year in my datepicker during the change event,but i have no idea how can i add the year,
so if this is the format of my date . Sep/03/2013
how to add it to make it one year. Sept/03/2014
here is my code.
$(function(){
$('#mydate').change(function(e){
e.preventDefault();
var newdate = $(this).val();
$('#otherdate').val(newdate);
}) ;
});
Thank you in advance.