According to SitePoint (and my own experiments), the IE implementation of \"setAttribute()\" is buggy and unreliable.
Also according to SitePoint, the name
name
This worked for me
alert(document.getElementById('testInput').name); document.getElementById('testInput').name = 'someName'; alert(document.getElementById('testInput').name);
With