I'm using Kevin Luck's jquery date picker plugin and I'm wondering what is the best way to format the dpSetEndDate() value to always be one year in the future? I tried using php:
<?php echo date('Y')+1;?>-<?php echo date('m-d');?>
But that didn't work. By itself, the php returns what I want to put in place of the date, but it doesn't render within the javascript.
$('.date-picker').dpSetEndDate('01/01/2010');
For reference his site is here: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html