Es recomendable que asignes un valor al atributo id para poder seleccionar más rápido los elementos:
Código PHP:
function nuevo_text() {
var text = document.createElement("input");
text.setAttribute('type','text');
text.setAttribute('name','text1');
text.setAttribute('id','text1');
text.setAttribute('value','Campo Texto');
document.body.appendChild(text);
}
var nodo = document.getElementById("text1");
nodo.parentNode.removeChild(nodo);
Éxitos