In Javascript I’m clearing out the contents of a DIV and then re-populating it, is there any way to suspend layout of these elements or lock the UI until I’ve finished slashing away at the HTML? I don’t want any messages popping up, I just don’t want to see the flicker as the items are removed/added.
Share
hide it by adding the style attribute to display:none, do the stuff, then redisplay the div after