Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 943407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:26:02+00:00 2026-05-15T22:26:02+00:00

How to check whether a element is made to hide at once. i.e how

  • 0

How to check whether a element is made to hide at once. i.e how to notify the visibility of an element.

In my case, the element is made to hide by slideUp function. At once i should be notified about the visibility of the that element.

I got the idea of using bind() method. But it does not have a onHide like event. So how to get like this ? any suggestions will be helpful !

EDIT:

I know it is possible to use is(':hidden') but i want to check continuously like addEventListener

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:26:02+00:00Added an answer on May 15, 2026 at 10:26 pm
    if($('#selector').is(':visible')){
       //is visible
    }else{
      //is NOT visible threfore is hidden
    }
    

    EDIT
    if that does not exist
    then you will have to check for opacity/filter property

    so

    if($('#selector').css('opacity')!=0){
           //is visible//or partially visible//depends on opacity
        }else{
          //is NOT visible threfore is hidden
        }
    

    also make sure you check opacity cross browser

    EDIT 2

    function checkVisibility(){
       //put the visibility checker here
       setTimeout('checkVisibility',1000)//every 1 second...
    }
    

    note: that repetitions like this MIGHT slow down the browser

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interested in a way to check whether an element has display:none style explicility
How can I check whether a particular element is inside an array? I don't
Is there a way to check whether an element can display innerHTML or $.html()
Are there any events fired by an element to check whether a css3 transition
I'm searching for a tool that would allow me to check whether a certain
In below code, I pass an HMTL element and check whether parameter passed is
I have a method that is supposed to check whether there is exactly one
I'm trying to check whether an html element with a certain id exists before
For a given Element, I want to check whether the xsi:nil attribute is set
All I want to do is to check whether an element exists in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.