elvirus: dynamisch erstelltes Formular sendet keinen string

Beitrag lesen

Danke Sehr!

Habe jetzt doch nochmal hinzugefügt:

Code:
// <tbody>
  newtbody = document.createElement('tbody');
  newtbody.id = 'tbody'+i;

// und Anhängen geändert:
// erzeugte Komponenten anhängen
  cell_1.appendChild(hidden);
  cell_2.appendChild(pic);
  cell_3.appendChild(input);
  cell_4.appendChild(input2);
  row.appendChild(cell_1);
  row.appendChild(cell_2);
  row.appendChild(cell_3);
  row.appendChild(cell_4);
  row.appendChild(cell_5);
  newtbody.appendChild(row);      //<<hier
  newtable.appendChild(newtbody); //<<und hier
  formular.appendChild(newtable);
  insert.appendChild(formular);

Seitdem klappts im IE und FF und alles ist cool!

Es lag also daran, dass eine gesamte Tabelle Kind des Formulaars sein muss und dass ich für IE zusätzlich einen tbody UND eine id erstellen muss.

Vielen Dank! Problem gelöst.

elvirus