random crashes. bug with my code or with IE?

random crashes. bug with my code or with IE?

Author

Message

Andre#1 / 2

random crashes. bug with my code or with IE?

I'm getting random crashes from my code that adds and removes elements. Because the original code is too long, I've created a sample code that can reproduce the same problem. Anyone know if this is a bug with my code or with IE (I use IE6)? The code is below, and to crash IE, keep on clicking on the Add button...it's a random crash so I've no idea how many times you need to click. Hold on to the Add button and IE should crash pretty fast... Thanks

> I'm getting random crashes from my code that adds and removes elements. > Because the original code is too long, I've created a sample code that can > reproduce the same problem. Anyone know if this is a bug with my code or > with IE (I use IE6)? The code is below, and to crash IE, keep on clicking on > the Add button...it's a random crash so I've no idea how many times you need > to click. Hold on to the Add button and IE should crash pretty fast... > Thanks

> Andrew

I just think you're working IE too hard. Tables are one of the most intensive operations for a browser and it can't cope with the strain. Perhaps if you used the table specific methods createTBody, insertRow, insertCell etc. you might get a better result. On my machine (Windows 20000 with 256MB ram) it took very fast clicking of the button over thirty times to get the browser to crash. --