L
Leszek
Hi
I'm using this code to change a table cell into text input:
pole=document.createElement("input");
pole.type="text";
pole.size="40";
pole.value=""+opis;
pole.id="opis"+id;
pole.name="opis"+id;
pole.className="guzik1";
document.getElementById("opis"+id).replaceChild(pole,document.getElementById("opis"+id).childNodes[0]);
This works ok but what i need is to change another table cell into dropdown
list with 6 options
(table cell has its id)
Is it possible to do it in similar way?
Thanks for help.
Leszek
I'm using this code to change a table cell into text input:
pole=document.createElement("input");
pole.type="text";
pole.size="40";
pole.value=""+opis;
pole.id="opis"+id;
pole.name="opis"+id;
pole.className="guzik1";
document.getElementById("opis"+id).replaceChild(pole,document.getElementById("opis"+id).childNodes[0]);
This works ok but what i need is to change another table cell into dropdown
list with 6 options
(table cell has its id)
Is it possible to do it in similar way?
Thanks for help.
Leszek