P
Phin
Hi,
I am tring to update some text in a div statement via
document.getElementById("test").innerHTML = "data loaded!"
and
<div id="test">
Loading ... please hold!
</div>
It only updates the text if I include an alert("some message")
statement after the "document.getElementById" line. So, after the alert
comes up and I press the button to close the alert message box, the
text updates!
This is really strange! How can I force this text to update?
I appreciate your help!
Thanks,
Phin
I am tring to update some text in a div statement via
document.getElementById("test").innerHTML = "data loaded!"
and
<div id="test">
Loading ... please hold!
</div>
It only updates the text if I include an alert("some message")
statement after the "document.getElementById" line. So, after the alert
comes up and I press the button to close the alert message box, the
text updates!
This is really strange! How can I force this text to update?
I appreciate your help!
Thanks,
Phin