cloneNode help
I have a form with two tables. Table1 contains a textbox; and a button to transfer the info in the textbox to Table2. Table2 is an add-row setup. My problem is that I want to transfer only the text (but not the textbox.) I would appreciate any help. My code is:
// cell 1 - input text
document.getElementById("table1");
var el=document.getElementById("textBox").cloneNode(tr ue);
var cell1 = row.insertCell(1).appendChild(el);
decren
|