Thanks in advance for your attention. The issue I'm having is that a call to document.getElementById("someElement").innerHTML does not appear to be executing synchronously. Here is simplified example code:
When executed in both IE and Firefox, the
string "Processing..." does not appear -- it's as if the browser is ignoring the call and going directly to generateSomeHTML() function. Are DOM updates such as this done asynchronously? The reason I ask is because I can put an alert() at line #2 and the string "Processing..." will appear.