The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

IE Crashing, but FF Loves It

I am working on an unobtrusive table manipulation script that will delete a row and recreate it with some additional form elements. Firefox works 100%. I thought I took extra care to keep IE happy, but when I first attempted to run the script in IE6, it crashes pretty hard. The crash I get is:

Internet Explorer cannot open the Internet site <<my site>>.

Operation aborted

There are no details that I can see that really help me narrow down the reason, so I've been snipping code until I found the culprit. it appears that using appendChild IE is crashing immediately. Hopefully there is a simple cross browser fix to this? I thought appendChild was pretty straight forward, but I'm usually wrong when it comes to JS.

The fix was easier than I expected. I was trying to use appendChild before the DOM had finished loading and IE exits fatally if you try that. I simply used the old window.onload quickfix and everything seems to be operational again....