M
mike
I have a page that generates content in a <tbody></tbody> dynamically.
The thing is if there is about 167 or so records it takes some time to
render them so I put a tag like:
<div id="str_status"> </div>
and in my js I have
function blah()
{
document.getElementById("srt_status").innerHTML = "rendering";
..
..
..some code here that takes a bit of time
..
..
document.getElementById("srt_status").innerHTML = "";
}
Problem is I never see the "rendering" ..... Looks like it renders all
at once and is not updating as the steps occur.
Any thoughts?
Mike
The thing is if there is about 167 or so records it takes some time to
render them so I put a tag like:
<div id="str_status"> </div>
and in my js I have
function blah()
{
document.getElementById("srt_status").innerHTML = "rendering";
..
..
..some code here that takes a bit of time
..
..
document.getElementById("srt_status").innerHTML = "";
}
Problem is I never see the "rendering" ..... Looks like it renders all
at once and is not updating as the steps occur.
Any thoughts?
Mike