Cosi su Firefox ok:
codice:
	
var impt = document.createElement("input");
	impt.setAttribute("type","text");
	impt.setAttribute("name","T"+k);
	impt.setAttribute("id","T"+k);
	impt.setAttribute("value",val2);
	impt.className = "impt";
	document.getElementById("mio_oggetto").appendChild(impt).onfocus=function(){this.select()}
	document.getElementById("mio_oggetto").appendChild(impt).onchange=function(){document.getElementById("ID").setAttribute("type","radio")}
onfocus tutto bene all'evento onchenge su IE 7, mi da errore comando non supportato. Domanda puoi modificare l'attributo su ie al volo?



P.S. Ho anche provato document.getElementById("mio_oggetto").appendChild (impt).onchange=function(){document.getElementById ("ID").type="radio";}