Which is best way to clean the innerHTML when working with dinamic content? : What i want i know is what's the best way to clean the innerHTML of an element that is going to be changing over and over, i made a small function that would clean the containers but i do not think that's quite efficient enough, i mean, it does work but only with the containers  which it's told to so maybe is better to just make every element to rewrite it's own innerHTML?
(Not sure if duplicate)