Hopefully this will be my last post for a while…
I create a dynamic table, and what I’m trying to do is change the text in one of the header cells when a person loses focus on a particular text box.
I’m attaching a txt file with how I created this table.
If you look closely in the text file, you will see a cell with the text of “Business Unit Name:” in cell position 1, and I want to dynamicall put in the name the user just keyed in a field from a different table using the onfocusout on an input field.
I can get the onfocusout, and read the input values no problem, but I haven’t been able to get the right syntax for changing that specific text in the cell with the name just keyed in.
Here’s what I dug up, but it’s obviously wrong…
var oTextNode = document.createTextNode(inpt_busname[0].value);
replacementPath = document.getElementById(‘KeyRelationshipSection’).getElementById(“KeyRelationshipMap”+j).getElementById(“th”).cells[2];
replacementPath.replaceNode(oTextNode);
Can anyone help me out here?
I would much appreciate it.
Cheers
Dan.