hi,
die function:
function Add ()
{
var a1 = document.createElement('input');
a1.name = 'a1';
document.getElementById("User").appendChild(a1);
}
> legt eine Input-Box an. Mit a1.name = 'a1' soll hier der name(id) zugewiesen werden.  
  
name != id  
  
> Auch mit a1.setAttribute('id', 'a1'); funktioniert nicht. Warum?  
  
setAttribute ist auch vollkommen unnötig.  
  
a1.id = "xyz";  
  
gruß,  
wahsaga  
  
-- 
/voodoo.css:  
#GeorgeWBush { position:absolute; bottom:-6ft; }
 nicht angemeldet
 nicht angemeldet