Changing the name attribute of INPUT elements in Explorer
Another day, another Internet Explorer problem.
You can’t set a name attribute on elements created with createElement method. You either have to provide the name when executing the method in true IE-only fashion (see example on linked page) or have to use some other method of creation like more widely usable but still non-standard innerHTML .