how to apply visibility hidden jquery make it disappear faster code example
Example: if (to_timing <= time) { $('#cancel').hide(); }
if (to_timing <= time) {
$('#cancel').hide();
}
if (to_timing <= time) {
$('#cancel').hide();
}