Problem gelöst. So geht's:
[code]
function Add ()
{
var a1 = document.createElement('input');
a1.setAttribute('id', 'a1');
document.getElementById("User").appendChild(a1);
}
function Del ()
{
var a1 = document.getElementById('a1');
document.getElementById('User').removeChild(a1);
}
[code]