jquery trasition to hide code example
Example: if (to_timing <= time) { $('#cancel').hide(); }
if (to_timing <= time) {
$('#cancel').hide();
}
if (to_timing <= time) {
$('#cancel').hide();
}