Just wondering how to determine a jQuery statement like this
if( $(\"#test\").css(\'display\', \'block\') == true) { return true; }
Basicall
I think the only way to test this is by comparing with actual values:
function displayHidden(elem) { return $(elem).css('display') === 'hidden'; }