E
Erik
Hi Everyone,
I have filled a div with around 10000 items of data. I have got it loading
in around 2 seconds but when I come to empty the div by setting innerHTML to
"" it takes ages, about 20 seconds to clear.
Can anybody tell me a quicker way of clearing the contents of a DIV. I have
also tried wrapping the content in another DIV and then simply removing the
DIV from the DOM but it takes the same amount of time.
Many thanks
I have filled a div with around 10000 items of data. I have got it loading
in around 2 seconds but when I come to empty the div by setting innerHTML to
"" it takes ages, about 20 seconds to clear.
Can anybody tell me a quicker way of clearing the contents of a DIV. I have
also tried wrapping the content in another DIV and then simply removing the
DIV from the DOM but it takes the same amount of time.
Many thanks