Hide vs Remove DOM elements

lionking

New Member
Hide vs RemoveWhat is the best way to handle DOM elements, hide or delete?. assume that the environment can change several times. Elements can have click-callbacks or other event callback.HideWhen hide what is best?. If clicking a button hide multiple items, you can hide one by one or you can also create css rules to do so.Option 1:\[code\]<style>.superContent{/*...*/}.superContent.noEdit .occultable{ display:none;}</style><form class=
 
Back
Top