4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
var cell_2 = row.insertCell(1);
var el = document.createElement('select');
el.setAttribute('lenght', '2');
el.setAttribute('name', 'thema_aktion' + rowNum);
el.setAttribute('id', 'row_name_id' + rowNum);
el.setAttribute('size', '1');
var opt = document.createElement('option');
opt.setAttribute('option', 'I');
cell_2.appendChild(el);
cell_2.appendChild(opt);
1
2
3
4
5
6
7
8
9
10
11
12
var cell_2 = row.insertCell(1);
var el = document.createElement('select');
el.setAttribute('lenght', '2');
el.setAttribute('name', 'thema_aktion' + rowNum);
el.setAttribute('id', 'row_name_id' + rowNum);
el.setAttribute('size', '1');
var status = new Array("A", "I");
for (var i = 0; i < status.length; i++){
var opt = new Option(status[i], status[i]);
el.options[el.length] = opt;
}
cell_2.appendChild(el);
1
2
3
4
var txt = document.createTextNode("txt");
opt.appendChild(txt);
el.appendChild(opt);
cell_2.appendChild(el);
1
2
3
4
5
6
7
8
9
10
11
var cell_2 = row.insertCell(1);
var el = document.createElement('select');
el.lenght = 2;
el.name = 'thema_aktion' + rowNum;
el.id = 'row_name_id' + rowNum;
el.size = 1;
var status = new Array("A", "I");
for (var i = 0; i < status.length; i++){
el.options[el.length] = new Option(status[i], status[i]);
}
cell_2.appendChild(el);
4 Einträge, 1 Seite |