element is hidden in jQuery?

if($("#box").is(":hidden")){
  console.log("Box is hidden");
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *