如何将获取的时间放入canvas中?
$(".last").click(function () {
var id_time=new Date();
var hour=parseInt(document.getElementById("id_hour").value);
id_time.setHours(hour);
var minutes=parseInt(document.getElementById("id_minutes").value);
id_time.setMinutes(minutes);
var seconds=parseInt(document.getElementById("id_seconds").value);
id_time.setSeconds(seconds);
document.write(id_time);
times=id_time;
getTimecha(date,times);
$(".alert").css({display:"none"});
})