This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

javascript to check css element
#4
(05.07.2021, 08:09)Erwin van der Zwart Wrote: Why is that important? If it's already hidden it has no infuence at all to remove the class again in the DOM ..

You could check with hasClass() method

I have another object i am listening to (same code as above different obj) also show/hide the same vis element and I want to check if it’s hidden or not before changing etc, I will have a look at the hasClass() function thanks
Reply


Messages In This Thread
RE: javascript to check css element - by benanderson_475 - 05.07.2021, 08:52

Forum Jump: