prueba con esto
Código Javascript
:
Ver original<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="author" content="">
<title></title>
<script type="text/javascript">
var id = 0;
function crearText(){
id++;
var nuevoText = document.createElement('input');
var elDiv = document.getElementById('cont');
nuevoText.setAttribute('type','text');
nuevoText.setAttribute('id','t'+id);
nuevoText.onblur = crearText;
elDiv.appendChild(nuevoText);
}
</script>
</head>
<body>
<div id="cont">
<input type="text" id="t0" onblur="crearText()">
</div>
</body>
</html>