document.createElement('<input name="' + name + '">');
Тоже самое с type и checked.
var $E = Element.create = function(tagName, attributes) {
if (IE && attributes) {
if ('type' in attributes) {tagName += ' type="' + attributes.type + '"'; delete attributes.type}
if ('name' in attributes) {tagName += ' name="' + attributes.name + '"'; delete attributes.name}
if (attributes.checked) {tagName += ' checked="checked"'; delete attributes.checked}
tagName = '<' + tagName + '>';
}