Do you mean you have an array of values in JavaScript that you want to put into *NEW* <input type="text"> fields? Or do you want to put them into *EXISTING* fields? Or what?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.