Files
EasySoft-ZenTaoPMS/module/user/js/todo.js
chencongzhi520@gmail.com 7427704392 * finish task#1078.
2013-02-19 07:23:06 +00:00

16 lines
493 B
JavaScript

function changeDate(date)
{
location.href = createLink('user', 'todo', 'account=' + account + '&type=' + date.replace(/\-/g, ''));
}
startDate = new Date(1970, 1, 1);
$(".todo-date").datePicker({createButton:true, startDate:startDate, maxDate:'%y-%M-%d'})
.dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_LEFT)
.bind('click', function() {
$(this).dpDisplay();
this.blur();
return false;
});
$(".colorbox").colorbox({width:960, height:550, iframe:true, transition:'none'});