- IE does not change the boxes at all, until after the script finishes.
- FF displays the text when it is written, but won't display changes in attributes (such as background color) until the script ends.
But both display the changes immeditely when an alert box pops up.
In my application, I want a "wrong value" error condition to show up immediately, so the user knows this before the script ends (so he can visually check values while the script is still making other values). But the alert box interrupts the processing.
In IE, the error message won't show up until after the script ends. The old values and error conditions stay on the screen for the duration. So the user doesn't know to check until the script ends.
In FF, the error message changes when the error appears or disappears, but the yellow error background does not appear or disappear until the script ends. So the user won't notice it until the script ends.
Does anyone have a trick that is not browser-dependent?