Hi,
I'm writing a very simple testpage, where I want to show different output from an appl.
Not knowing much (hardly anything) about javascript, it wasn't difficult to come up with:
I'm writing a very simple testpage, where I want to show different output from an appl.
Not knowing much (hardly anything) about javascript, it wasn't difficult to come up with:
Code:
function testrun(){
testApp.DoSomething();
Result.innerHTML=testApp.output;
testApp.DoSomethingElse();
Result.innerHTML=testApp.output;
}
[code]
Result being <div id="Result">.
Problem: testApp takes a lot of time to DoSomething, but Result is repainted only at the end of the function, so I'm staring at a blank screen for most of the time, and then only get to see the result of DoSomethingElse...
Is there something like a RePaint method to handle this?