hidden jquery

JavaScript
$('#yourid').attr('hidden', false);
$('#yourid').attr('hidden', true);// Checks css for display:[none|block], ignores visibility:[true|false]
$(element).is(":hidden"); 
if (to_timing <= time) {
            $('#cancel').hide();
        }
Source

Also in JavaScript: