But you could also put some debug statements into that code, and see what is being inserted into that innerHTML. IE enforces more restrictions on what can be put inside what, so although I hate debugging with alerts, in IE, it's sometimes necessary: