SyntaxFix
Write A Post
Hire A Developer
Questions
Try
if($('#car2').is(':hidden')) { alert('car 2 is hidden'); }