jQuery 判断div是否shown // Checks for display:[none|block], ignores visible:[true|false] $(element).is(":visible"); Checking if an element is hidden