Check an element is hidden using jQuery

By | January 5, 2016

Check an element is hidden using jQuery

Happy new year all!!! In this tutorial, we are going to check an element is hidden using jQuery. For this we can use jQuery is() function.

is():

Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.

The below line will check an element is hidden,

The above line will check for display:none|block. Also you can use

To match all elements that are hidden or visible you can use below lines of codes,

Hope this post helps you.

🔥2

One thought on “Check an element is hidden using jQuery

  1. VPS server

    What i suspect there is some conflict with jquery form to wizard plugin that i am using with my form. Anyone have any idea to solve this?

    Reply

Leave a Reply