Notifications
Clear all

[Closed] how to know if an object is hided ?

Hey,

It can be a stupid question, but Is there a way to know if an object is hided or no ?
Hide/unhide functions change the state but I have just to test the visibility (and no change it).

Thanks

EDIT: ok It was a stupid question. I found it: .isHidden

2 Replies

use the object’s isHidden property. it returns true if the object is hidden and false if it’s visible. you can also set the property to show/hide the object.

$.isHidden

cheers,
o

thanks ofer_z