Works fine in Mozilla. Guess what IE5 (not 5.5) does? It does not retrieve elements based on name, it looks for ID! But wait, there's already a function (IE-specific) that retrieves elements based on ID, which is document.all. Apparently, despite the hint given in the function name itself, Microsoft can't figure out what to retrieve elements based on.