con questo codice
document.getElementById("Matricole").innerHTML = 'Matr '+n+1+'<input name=Ti2matr'+n+' id=name=Ti2matr'+n+' type=text >
'

io creo un textbox.

ma come faccio a mettergli subito il focus?

molto urgente grazie