+ 1

How do i check if an element is hidden in jQuery?

It is possible to toggle the visibility of an element ,using the function .hide(), .show(), or .toggle(). How would you test if an element is visible or hidden?

7th Mar 2017, 11:35 PM
Artem Borodovoi
Artem Borodovoi - avatar
1 Odpowiedź
+ 1
Try to use :visible $(element).is(":visible")
7th Mar 2017, 11:38 PM
AtoMX
AtoMX - avatar