If we are writing some code using jQuery and want to know if a particular element in your page is visible or hidden you can do that using is() method,
Example:
<div id="hiddenEle" name="hiddenEle" style="display:none">This div is hidden</div>
<div id="visibleEle" name="visibleEle" style="display:block">This div is visible</div>
console.log($('#hiddenEle').is(":visible"));
console.log($('#visibleEle').is(":visible"));
Output:
false
true

Example - jQuery check if element is hidden
✌️jsfiddle: https://jsfiddle.net/0wxy8ect/4/
More Posts related to jQuery,
- Make div element draggable using jQuery
- [jQuery] Uncaught ReferenceError: $ is not defined at index.html:5
- Redirect page using jQuery
- jQuery : Move to top of the page
- Disable jQuery button after being click
- Get Browser Screen Width and Height dynamically using jquery
- How to check if an element is hidden using jQuery?
More Posts:
- SharePoint Server 2016 IT Preview Deprecated Removed features - SharePoint
- How to make jsfiddle bootstrap ready - CSS
- How to enable line numbers in Eclipse - Eclipse
- Parsing Data for android-21 failed unsupported major.minor version 51.0 - Android
- SDK Manager: failed to install : Android Studio on Windows - Android-Studio
- Remove ActionBar from Activity that extends appcompat-v7 - Android
- Loading previous page using html button using JavaScript - JavaScript
- Tutorial : Simple Lightweight Pure CSS based Vertical Navigation Menu - CSS
- Calculate Area and Circumference of Circle - C-Program
- Gmail Error Bad Request Your client has issued a malformed or illegal request - Google
- How to Apply Themes to Notepad++ - NotepadPlusPlus
- [Solved] SharePoint Access Denied error editing Document Name - SharePoint
- Calculate Volume of Cube - C-Program
- The service instance "Microsoft SharePoint Insights" could not be provisioned because of the following error: Authentication information for SPInsights service has not been set yet - SharePoint
- Use Netbeans keyboard shortcuts in Android Studio - Android-Studio