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 ?
December 8, 2011 at 1:00 pm
#92219
standuncan
Member
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.