You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
458 B
JavaScript

// JavaScript Document
$(document).ready(function(e) {
initCalendar2("startdate");
$("#ui-datepicker-div").css("z-index","5");
$("#startdate").val(curises_date());
});
function curises_date(){
var cDate = new Date();
var nDate=new Date(cDate.getFullYear(),cDate.getMonth(),cDate.getDate()+10)
var mm=(nDate.getMonth()+1);
if(mm<10){mm='0'+mm}
dd=nDate.getDate();
if(dd<10){dd='0'+dd}
return mm+'/'+dd+'/'+cDate.getFullYear();
}