Home › Forums › Back End › If a div has no content – add class for display:none ? › Re: If a div has no content – add class for display:none ?
I have a div that contains all my errors on a form. I have it styled and positioned where needed, but when there are no errors, I would like the div to not be visible.
I’m going to see if I can work with the idea above, thanks.