Cod: Selectaţi tot
var text1 = document.createElement ('input');
text1.setAttribute ('type', 'text');
text1.setAttribute ('name', 'element_' + nr_rows);
text1.setAttribute ('value', 'element_'+nr_rows);
text1.setAttribute ('id', 'element_'+ nr_rows);
Acum as vrea sa bag in php in niste variable ce scriu in casetele respective.Precizez ca sunt incepator la JS. Stiti cumva cum fac?