send todaysdate on js code example
Example 1: calculate today date javascript
var today = new Date();
Example 2: current date jquery and current day
$( "#datepicker" ).datepicker({dateFormat:"yy/mm/dd"}).datepicker("setDate",new Date());
var today = new Date();
$( "#datepicker" ).datepicker({dateFormat:"yy/mm/dd"}).datepicker("setDate",new Date());