Hi, I run into a problem which can be demonstrated by the following simple example:
[code]
<html>
<head>
<script>
function sayHello()
{
alert(“hello”);
}
</script>
</head>
<body>
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<script>sayHello();</script>
<tr>
<td>1</td>
<td>2</td>
</tr>
<script>sayHello();</script>
<tr>
<td>1</td>
<td>2</td>
</tr>
<script>sayHello();</script>
</table>
</body>
</html>
If you open this demo using Firefox, you can see Firefox renders one row, run the javascript, renders the next row, run the next javascript … …
This is the effect that I want.
However if you open it with IE (I am using IE 6), IE run all the javascripts before rendering the table rows. I am wondering if it’s possible to find a workaround, so IE can also alternately render a table row, run the javascript, like what firefox did.
Any help is appreciated. Thanks.