- This topic is empty.
April 17, 2015 at 2:06 pm #200650AndrewEParticipant
Anyway, here is my actual question:
Can I write a script to find the class of a parent div, and then hide some content based on the read result?
(horrible imitation of jscript)
if div with name “foo” is present: hide/remove element with class “bar”
elseif div with name “foo-2” is present: hide/remove element with class “bar-2”
I guess there´s a post about this issue somewhere, please point me in the right direction if no direct answers are available.